Page 3 of 3
Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 11:16
by admin
Doesn't the icon alarm you sufficiently? Should I better use a skull icon?

Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 12:30
by PeterH
Hm, getting a bit OT here, but:
it's about info "getting your attention" if you don't look there - and that's about color
and size. And the text adds quite a bit to the size of the icon
(Miss a smily with eyeglasses, so take these:

)
Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 12:38
by admin
Sure, but if there is text it should be readable. IMO the current color (next beta) is a good choice.
Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 13:46
by Luigi
admin wrote:1) Thanks, I will change that red color. Is this one at the bottom better?
statusred.png
2018-01-10_104304.png
2) When you rename a file, is typing those characters possible then? In other words, can you type those characters into an edit box?
1) Thank you admin, it looks much better now (sorry for off-topic)
2) Yes I can rename them however I want, just can not typeahead them.
Typeahead normalizes(?) some characters to ASCII versions (something like this: â → a, ö → o)
rename.png
Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 14:10
by admin
OK, thanks, I thought so. I will try to fix that, but my hopes are low...
UPDATE: No chance. This cannot be fixed.
Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 16:04
by Luigi
admin wrote:OK, thanks, I thought so. I will try to fix that, but my hopes are low...
UPDATE: No chance. This cannot be fixed.
Can you tell me the technical details why this cannot be fixed? I want to understand
Did you try a Turkish keyboard layout?
Re: Typing file name which include Unicode characters FAIL
Posted: 10 Jan 2018 16:23
by admin
The Edit Box control has the necessary skills to handle this type of input, but the List in XYplorer is a different control, it does not have that skill.
There might be a possibility to redirect the keyboard input to an invisible edit box. That would need further research, I'll make a note...
Re: Typing file name which include Unicode characters FAIL
Posted: 11 Jan 2018 16:05
by Luigi
This issue happens on
Notepad2-mod too (A C++ Notepad project):
In ANSI encoding mode:
- "ğ" turns "g"
- "ş" turns "s"
You can fix this by changing encoding from ANSI to Unicode (UTF-8 or UTF-16).
If you can enable Unicode for List control, or like you said invisible input box that supports Unicode, it would work.
Re: Typing file name which include Unicode characters FAIL
Posted: 11 Jan 2018 16:11
by admin
Are you pressing a single key for "ğ", or is it a combination or sequence of keys?
Re: Typing file name which include Unicode characters FAIL
Posted: 11 Jan 2018 17:44
by Luigi
admin wrote:Are you pressing a single key for "ğ", or is it a combination or sequence of keys?
It's a single key, it's available on Turkish keyboards
"Ğ" next to "P"

Re: Typing file name which include Unicode characters FAIL
Posted: 11 Jan 2018 20:48
by admin
OK, I can reproduce it now. I will try some fix the next days...
Re: Typing file name which include Unicode characters FAIL
Posted: 12 Jan 2018 13:21
by admin
Looks like I could fix it!

A toughy, took several hours of cold-blooded pioneer work in undocumented wilderness. But, yeah, it seems to work!
Re: Typing file name which include Unicode characters FAIL
Posted: 13 Jan 2018 00:30
by Luigi
admin wrote:Looks like I could fix it!

A toughy, took several hours of cold-blooded pioneer work in undocumented wilderness. But, yeah, it seems to work!
Thank you admin, when you say "undocumented", are you talking about Windows' undocumented API?
Re: Typing file name which include Unicode characters FAIL
Posted: 13 Jan 2018 11:30
by admin
Well, I exaggerated a bit. I'm using the ToUnicode function, and I couldn't find that many real world usage samples.
So, can you confirm that it works now?
Re: Typing file name which include Unicode characters FAIL
Posted: 13 Jan 2018 21:07
by Luigi
admin wrote:Well, I exaggerated a bit. I'm using the ToUnicode function, and I couldn't find that many real world usage samples.
So, can you confirm that it works now?
It works, thanks