Unicode in file names
-
JohnM
- Posts: 290
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
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
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.30.2503 x64
XYplorer 28.30.2503 x64
-
binocular222
- Posts: 1424
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
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
-
admin
- Site Admin
- Posts: 66691
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
JohnM
- Posts: 290
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
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.
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.30.2503 x64
XYplorer 28.30.2503 x64
-
highend
- Posts: 14998
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
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
-
admin
- Site Admin
- Posts: 66691
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
JohnM
- Posts: 290
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
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.
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.30.2503 x64
XYplorer 28.30.2503 x64
-
PeterH
- Posts: 2830
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
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?
-
admin
- Site Admin
- Posts: 66691
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
admin
- Site Admin
- Posts: 66691
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Unicode in file names
Well, I see no problem.[/size]
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 66691
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
admin
- Site Admin
- Posts: 66691
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
JohnM
- Posts: 290
- Joined: 08 Jun 2006 11:59
- Location: Windows 11 Pro @100%
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 11 Pro x64
XYplorer 28.30.2503 x64
XYplorer 28.30.2503 x64
-
rpnfan
- Posts: 89
- Joined: 07 Jan 2016 21:42
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
XYplorer Beta Club