Unicode in file names
Unicode in file names
Hi All,
Does anyone know of which circumstances XY will shorten a file name in the FV and replace the trailing section with an elipsis?
I ask because I have a file name which contains what I think is unicode character and the name has been shortened. Renaming the file to remove the unicode character causes XY to display the full name. The status bar always displays the full name.
Can anyone repro this?
Cheers
John
Does anyone know of which circumstances XY will shorten a file name in the FV and replace the trailing section with an elipsis?
I ask because I have a file name which contains what I think is unicode character and the name has been shortened. Renaming the file to remove the unicode character causes XY to display the full name. The status bar always displays the full name.
Can anyone repro this?
Cheers
John
- Attachments
-
- Before.PNG (8.71 KiB) Viewed 2656 times
-
- After.PNG (9.31 KiB) Viewed 2656 times
Windows 8.1 x64
XYplorer 22.90.0105 beta
XYplorer 22.90.0105 beta
-
- Posts: 1416
- Joined: 04 Nov 2008 05:35
- Location: Hanoi, Vietnam
Re: Unicode in file names
Can you post the full name (with Unicode) here?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Unicode in file names
Please hold CTRL, then right-click the filename and select "Show Character Table". Post the results here.
FAQ | XY News RSS | XY Twitter
Re: Unicode in file names
Here is a shot of the character table.
@binocular222 the full name is in the shot.
@binocular222 the full name is in the shot.
- Attachments
-
- Character table.PNG (12.69 KiB) Viewed 2613 times
Windows 8.1 x64
XYplorer 22.90.0105 beta
XYplorer 22.90.0105 beta
Re: Unicode in file names
The first "char" contains a linebreak. That's probably the reason for your problem.
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Unicode in file names
Tried it, no problem with that char. I'd say the column is simply too narrow. Make it wider.
FAQ | XY News RSS | XY Twitter
Re: Unicode in file names
I understand. I was curious as to why XY was displaying the name like that.highend wrote:The first "char" contains a linebreak. That's probably the reason for your problem.
Made the column wider, no difference, see screenshot.admin wrote:Tried it, no problem with that char. I'd say the column is simply too narrow. Make it wider.
- Attachments
-
- Before2.PNG (10.41 KiB) Viewed 2599 times
Windows 8.1 x64
XYplorer 22.90.0105 beta
XYplorer 22.90.0105 beta
Re: Unicode in file names
Just for interest: can someone explain the first line of the Table, i.e. the 2 mostright columns? As utf8 seems to show 2 (or 3?) chars, and utf8hex shows 6 bytes? Or how must I read it?
W7(x64) SP1 German
( +WXP SP3 )
( +WXP SP3 )
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Unicode in file names
utf8: It's each character as it would be written in UTF8.PeterH wrote:Just for interest: can someone explain the first line of the Table, i.e. the 2 mostright columns? As utf8 seems to show 2 (or 3?) chars, and utf8hex shows 6 bytes? Or how must I read it?
utf8hex: since some utf8 characters might not be printable in each font, here's the bytes converted to hex.
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Unicode in file names
@JohnM: Which font are you using in the file list?
BTW, this is not a linebreak but just the "paragraph" character (aka pilcrow), and it only appears in the UTF8 encoding of the filename which has nothing to do with how it is rendered in the file list.JohnM wrote:I understand. I was curious as to why XY was displaying the name like that.highend wrote:The first "char" contains a linebreak. That's probably the reason for your problem.
FAQ | XY News RSS | XY Twitter
Re: Unicode in file names
Well, I see no problem.
[/size]Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Unicode in file names
OK, I was on the right track: Bug confirmed for font "Microsoft Sans Serif 9". I don't think I can fix that. It's either a bug of the font, or of the font related API.
FAQ | XY News RSS | XY Twitter
Re: Unicode in file names
I am using Tahoma.admin wrote:@JohnM: Which font are you using in the file list?
Just updated to 15.00.0510 beta and it looks like your work around has done the trick. Thanks very much.
Windows 8.1 x64
XYplorer 22.90.0105 beta
XYplorer 22.90.0105 beta
Re: Unicode in file names
I have the same problem. I can not rename a file name like:
asdf_3°_jklö.txt
Is this a general problem that XY can not handle those file names, while the Explorer can?
Best regards
asdf_3°_jklö.txt
Is this a general problem that XY can not handle those file names, while the Explorer can?
Best regards