Page 1 of 1

Unicode / Japanese text broken under 11.80 (worked in 11.70)

Posted: 17 Dec 2012 07:59
by Otyg
There seems to be a problem copying and pasting japanese filenames under xyplorer
I went to rename a file and paste some japanese text in "新しいファイル" but it just shows up as キキキ, (renaming the file from windows explorer or xy 11.70 works ok),
I have used xyplorer for years and this just started happening, since I upgraded from 11.70, filenames already in japanese show up normal, it only happens when renaming a file/folder.

11.70.0122 (after renaming a file, as you can see it worked fine.)
snap0975.jpg
11.80.0120 (after renaming a file, shows as キキキ)
snap0976.jpg

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 17 Dec 2012 10:15
by admin
Interesting. I can explain the appearance of the KI character (and can fix that) but I currently cannot explain why the replacement happens at all. Only one vague idea. Please try the next BETA version to check if I fixed it.

ADD: I should have added that I could not reproduce the problem here (German Windows).

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 17 Dec 2012 10:35
by Borut
I tried this with inline renaming, but maybe some other renaming procedure should have been used (I simply made a cut & paste of Japanese characters). Maybe the effect is depending on Japanese Windows, since it was not reproducible on a German Windows:

XYplorer: 11.80.0120 (Pro Edition - Lifetime License Pro)
OS: Windows XP Professional (Service Pack 3), 32-bit (5.1)
User Role: Admin
Themes: No
System Locale ID: 3079
Thread Locale ID: 3079
Default ANSI Code Page: 1252
Active Code Page: 1252 (ANSI - Lateinisch I)

The box replacement characters were visible at first, as a Unicode compliant indication that Japanese code points were not able to be drawn with the currently selected font. As soon as "Arial Unicode MS" font was selected, the new name was visible and OK (as far as I can judge).

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 17 Dec 2012 12:46
by Otyg
it appears to be fixed in 11.080.0122

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 17 Dec 2012 12:51
by admin
Otyg wrote:it appears to be fixed in 11.080.0122
Thanks for the info! Could you please try to set this tweak to 1 and see if the error comes back:

Code: Select all

    + Tweak to automatically replace invalid characters when renaming a 
      file by paste or typing.
        RenameAutoReplaceInvalidChars=1
How to tweak: http://www.xyplorer.com/xyfc/viewtopic.php?f=10&t=3543

Don

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 17 Dec 2012 23:35
by Otyg
changing that setting to 1, causes a similar error to show up, when I paste some japanese it just shows as .......... instead of キキキ,

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 18 Dec 2012 07:35
by admin
Otyg wrote:changing that setting to 1, causes a similar error to show up, when I paste some japanese it just shows as .......... instead of キキキ,
OK, thanks! I assume you have Japanese Regional Settings in your Windows?

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 18 Dec 2012 08:06
by admin
Whatever, I guess I just fixed it. 8)

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 18 Dec 2012 08:11
by Otyg
admin wrote:
Otyg wrote:changing that setting to 1, causes a similar error to show up, when I paste some japanese it just shows as .......... instead of キキキ,
OK, thanks! I assume you have Japanese Regional Settings in your Windows?
Yeah I have my system setup with japanese regional support (not mui) so system is still english with japanese support., I'm using windows 7. :)

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 18 Dec 2012 21:30
by admin
Is it fixed now?

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 21 Dec 2012 23:29
by Otyg
sorry for the delay, I have just tested version 11.90.0010 and when used with RenameAutoReplaceInvalidChars=1 ,
some improvement it will now paste the japanese text in, but then it adds a '.' in various places of the text even though they are valid characters.

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 22 Dec 2012 10:52
by admin
Otyg wrote:sorry for the delay, I have just tested version 11.90.0010 and when used with RenameAutoReplaceInvalidChars=1 ,
some improvement it will now paste the japanese text in, but then it adds a '.' in various places of the text even though they are valid characters.
Which characters exactly are replaced by "."?

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 27 Dec 2012 10:52
by admin
admin wrote:
Otyg wrote:sorry for the delay, I have just tested version 11.90.0010 and when used with RenameAutoReplaceInvalidChars=1 ,
some improvement it will now paste the japanese text in, but then it adds a '.' in various places of the text even though they are valid characters.
Which characters exactly are replaced by "."?
Any other Japanese user out there reading this? I really need a reply!

Re: Unicode / Japanese text broken under 11.80 (worked in 11

Posted: 06 Jan 2013 21:34
by admin
Well, thanks for nothing, I got it. :mrgreen: