Chinese Characters in Registry

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
steveboot
New Cone
New Cone
Posts: 2
Joined: 07 Aug 2012 00:28

Chinese Characters in Registry

Postby steveboot » 07 Aug 2012 00:34

Was wondering had VLC been hacked. I found the following



HKEY_CLASSES_ROOT\楖敤䱯乁嘮䍌汐杵湩.1 HKEY_CLASSES_ROOT\楖敤䱯乁嘮䍌汐杵湩.2

and

HKEY_CLASSES_ROOT\VideoLAN.VLCPlugin\CurVer
VideoLAN.VLCPlugin 䱖⁃捁楴敶⁘汐杵湩愠摮䤠⁅敗⁢汐杵湩 v2

Google Translate HKEY_CLASSES_ROOT \ the Ji apply 䱯 I chatter 䍌 xi pestle Breast - feeding .1

What gives?

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Chinese Characters in Registry

Postby Lotesdelere » 07 Aug 2012 10:35

That looks like a corrupted registry to me. It's just garbage and non sense that can't do any action.

steveboot
New Cone
New Cone
Posts: 2
Joined: 07 Aug 2012 00:28

Re: Chinese Characters in Registry

Postby steveboot » 08 Aug 2012 23:50

Negative:

VLC 2.0.3 consistently installs that key and removes it upon uninstalling the application.

I tried eariler versions and the key is not present.

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Chinese Characters in Registry

Postby Lotesdelere » 13 Aug 2012 16:15

Did you download VLC from the official download page ?

mrollin
New Cone
New Cone
Posts: 5
Joined: 15 Aug 2012 12:08

Re: Chinese Characters in Registry

Postby mrollin » 15 Aug 2012 12:56

I'm having the identical problem. The registry items affects are specifically the ActiveX control. I used the official installer (tried three times).

Uninstalling successfully removes these entries from the registry, which is good news, but reinstalling puts them back, which is bad news.

This appears to be a bug, not a threat. However, any insight on how to clear this up would be appreciated.

mrollin
New Cone
New Cone
Posts: 5
Joined: 15 Aug 2012 12:08

Re: Chinese Characters in Registry

Postby mrollin » 15 Aug 2012 15:42

Evidently a known bug because as of today (Aug 15) it is corrected in the nightly build.

VirtualJealousy
New Cone
New Cone
Posts: 1
Joined: 07 Jan 2013 04:31

Re: Chinese Characters in Registry

Postby VirtualJealousy » 07 Jan 2013 04:34

This is still an issue, just downloaded the latest version (2.0.5) and the values are still added to the registry.

If you lookup the registered application for the class id for 楖敤䱯乁嘮䍌汐杵湩.1 "{E23FE9C6-778E-49D4-B537-38FCDE4887D8}", the InprocServer32 the value is:
C:\Program Files (x86)\VideoLAN\VLC\axvlc.dll

If you lookup the registered application for the class id for 楖敤䱯乁嘮䍌汐杵湩.2 "{9BE31822-FDAD-461B-AD51-BE1D1C159921}", the InprocServer32 the value is:
C:\Program Files (x86)\VideoLAN\VLC\axvlc.dll

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Chinese Characters in Registry

Postby Jean-Baptiste Kempf » 07 Jan 2013 12:05

Patches are welcome, still :)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Dialecticus
New Cone
New Cone
Posts: 1
Joined: 09 Jan 2013 17:30

Re: Chinese Characters in Registry

Postby Dialecticus » 09 Jan 2013 17:36

These Chinese characters are UTF-16 representation of the text "VideoLAN.VLCPlugin" when written in ANSI. Someone used C-style cast to make this happen.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Chinese Characters in Registry

Postby Jean-Baptiste Kempf » 10 Jan 2013 00:52

still :) PAtches welcome.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dantsatsan
New Cone
New Cone
Posts: 2
Joined: 19 Jan 2013 05:02

Re: Chinese Characters in Registry

Postby dantsatsan » 19 Jan 2013 05:07

Dialecticus is correct. I briefly looked at the code. I saw that ansi code is mixed with unicode. If I knew how to compile VLC with Visual Studio 2012, I'd try to fix it.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Chinese Characters in Registry

Postby Rémi Denis-Courmont » 19 Jan 2013 10:06

You can't compile VLC wit VS; VS does not support two (C99 and Lua) of the 3 languages (C99, C++, Lua) that VLC for Windows is written in.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

dantsatsan
New Cone
New Cone
Posts: 2
Joined: 19 Jan 2013 05:02

Re: Chinese Characters in Registry

Postby dantsatsan » 19 Jan 2013 16:27

Thanks Rémi Denis-Courmont. Yes, I read that last night.
When I discovered that VLC was writing the Chinese type characters to the registry for plugins, I thought I might try to fix it. But since I started writing with Borland's Turbo C++ then Visual studio, I'm unfamiliar with C99. I've recently been converting some old Windows 3.0 games to run under Windows x64. That being said, It seems that someone familiar with the VLC code should be able to fix the registry routine relatively quick. Best wishes.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Chinese Characters in Registry

Postby Jean-Baptiste Kempf » 21 Jan 2013 13:20

the writing in the registry is done by a script writen in NSIS, very simple to modify.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

cti
New Cone
New Cone
Posts: 1
Joined: 18 May 2016 13:51

Re: Chinese Characters in Registry

Postby cti » 18 May 2016 13:55

As of the current version (2.2.3 Weatherwax) they are still in the registry.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Chinese Characters in Registry

Postby Rémi Denis-Courmont » 18 May 2016 16:10

4 years later, patch still welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: Chinese Characters in Registry

Postby kimiraikkonen » 18 Dec 2018 18:26

I just discovered almost same problem with one of my old VLC builds (1.1.11) on my old computer, containing Chinese extension under FileExt registry key, which appears to be created WHEN I started a desktop capture session via VLC, containing the filename of this capture, resulting in a Chinese extension which is unreadable:
Image

Extension has no translation from Chinese to English with success, and it has no sign of infection but its creation/last write date and time refer to the run time of VLC and the key is associated with VLC.exe on the right pane, screenshot cropped.

Is it a known bug, a corruption occured by VLC?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests