Page 1 of 2
Unicode in file names
Posted: 26 Apr 2015 01:14
by JohnM
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
Re: Unicode in file names
Posted: 26 Apr 2015 02:58
by binocular222
Can you post the full name (with Unicode) here?
Re: Unicode in file names
Posted: 26 Apr 2015 09:06
by admin
Please hold CTRL, then right-click the filename and select "Show Character Table". Post the results here.
Re: Unicode in file names
Posted: 26 Apr 2015 20:53
by JohnM
Here is a shot of the character table.
@binocular222 the full name is in the shot.
Re: Unicode in file names
Posted: 26 Apr 2015 21:23
by highend
The first "char" contains a linebreak. That's probably the reason for your problem.
Re: Unicode in file names
Posted: 26 Apr 2015 21:43
by admin
Tried it, no problem with that char. I'd say the column is simply too narrow. Make it wider.
Re: Unicode in file names
Posted: 26 Apr 2015 22:09
by JohnM
highend wrote:The first "char" contains a linebreak. That's probably the reason for your problem.
I understand. I was curious as to why XY was displaying the name like that.
admin wrote:Tried it, no problem with that char. I'd say the column is simply too narrow. Make it wider.
Made the column wider, no difference, see screenshot.
Re: Unicode in file names
Posted: 27 Apr 2015 00:40
by PeterH
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?
Re: Unicode in file names
Posted: 27 Apr 2015 08:44
by admin
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?
utf8: It's each character as it would be written in UTF8.
utf8hex: since some utf8 characters might not be printable in each font, here's the bytes converted to hex.
Re: Unicode in file names
Posted: 27 Apr 2015 08:47
by admin
@JohnM: Which font are you using in the file list?
JohnM wrote:highend wrote:The first "char" contains a linebreak. That's probably the reason for your problem.
I understand. I was curious as to why XY was displaying the name like that.
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.
Re: Unicode in file names
Posted: 27 Apr 2015 12:48
by bdeshi
Well, I see no problem.
charhidetest.png
[/size]
Re: Unicode in file names
Posted: 27 Apr 2015 13:12
by admin
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.
Re: Unicode in file names
Posted: 27 Apr 2015 15:15
by admin
PS: found a way to work around.

Re: Unicode in file names
Posted: 27 Apr 2015 21:14
by JohnM
admin wrote:@JohnM: Which font are you using in the file list?
I am using Tahoma.
Just updated to 15.00.0510 beta and it looks like your work around has done the trick. Thanks very much.
Re: Unicode in file names
Posted: 14 Dec 2016 10:37
by rpnfan
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