Typing file name which include Unicode characters FAIL

Things you’d like to miss in the future...
admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Typing file name which include Unicode characters FAIL

Post by admin »

Doesn't the icon alarm you sufficiently? Should I better use a skull icon? :wink:

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Typing file name which include Unicode characters FAIL

Post 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 :roll:
(Miss a smily with eyeglasses, so take these: :beer: :beer: )
Win11 Pro 223H2 Gerrman

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

Re: Typing file name which include Unicode characters FAIL

Post by admin »

Sure, but if there is text it should be readable. IMO the current color (next beta) is a good choice.

Luigi
Posts: 56
Joined: 01 Sep 2011 00:41

Re: Typing file name which include Unicode characters FAIL

Post 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
rename.png (2.77 KiB) Viewed 2344 times

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

Re: Typing file name which include Unicode characters FAIL

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

Luigi
Posts: 56
Joined: 01 Sep 2011 00:41

Re: Typing file name which include Unicode characters FAIL

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

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

Re: Typing file name which include Unicode characters FAIL

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

Luigi
Posts: 56
Joined: 01 Sep 2011 00:41

Re: Typing file name which include Unicode characters FAIL

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

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

Re: Typing file name which include Unicode characters FAIL

Post by admin »

Are you pressing a single key for "ğ", or is it a combination or sequence of keys?

Luigi
Posts: 56
Joined: 01 Sep 2011 00:41

Re: Typing file name which include Unicode characters FAIL

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

Image

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

Re: Typing file name which include Unicode characters FAIL

Post by admin »

OK, I can reproduce it now. I will try some fix the next days...

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

Re: Typing file name which include Unicode characters FAIL

Post by admin »

Looks like I could fix it! :beer: A toughy, took several hours of cold-blooded pioneer work in undocumented wilderness. But, yeah, it seems to work!

Luigi
Posts: 56
Joined: 01 Sep 2011 00:41

Re: Typing file name which include Unicode characters FAIL

Post by Luigi »

admin wrote:Looks like I could fix it! :beer: 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?

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

Re: Typing file name which include Unicode characters FAIL

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

Luigi
Posts: 56
Joined: 01 Sep 2011 00:41

Re: Typing file name which include Unicode characters FAIL

Post 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
Attachments
test.jpg
test.jpg (6.52 KiB) Viewed 2218 times

Post Reply