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

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Otyg
Posts: 5
Joined: 17 Dec 2012 07:53

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

Post 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
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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).

Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

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

Post 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).
To see the attached files, you need to log into the forum.
Win 10 Pro 64bit

Otyg
Posts: 5
Joined: 17 Dec 2012 07:53

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

Post by Otyg »

it appears to be fixed in 11.080.0122

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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

Otyg
Posts: 5
Joined: 17 Dec 2012 07:53

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

Post 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 キキキ,

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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?

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Whatever, I guess I just fixed it. 8)

Otyg
Posts: 5
Joined: 17 Dec 2012 07:53

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

Post 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. :)

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Is it fixed now?

Otyg
Posts: 5
Joined: 17 Dec 2012 07:53

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

Post 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.

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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 "."?

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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!

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Well, thanks for nothing, I got it. :mrgreen:

Post Reply