If v7.00.0026 did not work for you, then I really don't know what's going on. How do other apps save their "ö"s???infimum wrote:OK
preview RAW file from digital camera (CANON, NIKON,etc..)
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
FAQ | XY News RSS | XY X
-
infimum
- Posts: 116
- Joined: 30 Dec 2007 21:04
OK, here's one way. Why don't you take a look at 7-zip portable.How do other apps save their "ö"s???
http://portableapps.com/apps/utilities/7-zip_portable
And extract it and take a look at 7-ZipPortable\Data\settings\7-zip_portable.reg. Do you see that FolderShortcuts and FolderHistory are specified as hex values? Can you do the same thing?
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Okay, that's the registry way. It's one possible way, but I don't like it's unfriendlyness: the data are not human-readable.infimum wrote:OK, here's one way. Why don't you take a look at 7-zip portable.How do other apps save their "ö"s???
http://portableapps.com/apps/utilities/7-zip_portable
And extract it and take a look at 7-ZipPortable\Data\settings\7-zip_portable.reg. Do you see that FolderShortcuts and FolderHistory are specified as hex values? Can you do the same thing?
I could simply save all data converted to UTF-8 and solve all problems. But I want to know the conditions... I have other users from Japan and Korea (all DBCS) and they have none of the problems you describe. I need to know exactly what's going on.
If you type or paste an "ö" into Notepad and save it to disk. Could you do this and send me the TXT file, wrapped in a zip. I'd like to see what's happening to the "ö".
FAQ | XY News RSS | XY X
-
infimum
- Posts: 116
- Joined: 30 Dec 2007 21:04
It's just that they don't bother to tell you (or they don't need "ö" or they have German Windows). It's not specific to my condition. When I look at the INI file, it's encoded in Windows 932 aka Shift-JIS, the default encoding of Japanese Windows. There's just no way to save "ö" in this encoding. Believe me.admin wrote:I have other users from Japan and Korea (all DBCS) and they have none of the problems you describe. I need to know exactly what's going on.
Notepad is quite good at handling various letters from various languages. Of course it shows "ö". Other text editors are not so good at handling them. They need to be explicitly told that the encoding is UFT7, 8, etc. Otherwise "ö" would be garbled. Just copy and paste some random Chinese characters on a txt file encoded in Windows 1252, which is your default, they will be garbled (even if you have a fond that covers Chinese characters). It's the same deal.If you type or paste an "ö" into Notepad and save it to disk. Could you do this and send me the TXT file, wrapped in a zip. I'd like to see what's happening to the "ö".
Look, if you don't like hex values, then the only way is to encode the INI in UTF7, 8, etc. There is no other way.
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Okay, I'm ready for UTF8. But in 7.00.0026 I DID encode strings containing "ö" in UTF8 ("ö" should be "ö"), and you told me it did not work...infimum wrote:Look, if you don't like hex values, then the only way is to encode the INI in UTF7, 8, etc. There is no other way.
Please try again with the current beta version. There's an undocumented INI Key:
EscapeUpperANSI=1
Set it to 1 and restart XY. UTF8 encoding should set in for paths containing "ö".
FAQ | XY News RSS | XY X
-
infimum
- Posts: 116
- Joined: 30 Dec 2007 21:04
I don't know the exact mechanics of this. But the entire INI file is still encoded in default encoding of Windows (diffrent from language to language). I am no programmer, but I can tell that with this encoding, nothing works. Well, except hex values because numbers aren't encoded differently from language to language and each character from various languages is given a unique number. This is why I am telling the entire INI should be in UTF (if you want to avoid using hex) and XY should be equipped with the ability of reading off unicode settings.admin wrote:But in 7.00.0026 I DID encode strings containing "ö" in UTF8 ("ö" should be "ö"), and you told me it did not work...
Please try again with the current beta version. There's an undocumented INI Key:
EscapeUpperANSI=1
Set it to 1 and restart XY. UTF8 encoding should set in for paths containing "ö".
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
infimum wrote:I don't know the exact mechanics of this. But the entire INI file is still encoded in default encoding of Windows (diffrent from language to language). I am no programmer, but I can tell that with this encoding, nothing works. Well, except hex values because numbers aren't encoded differently from language to language and each character from various languages is given a unique number. This is why I am telling the entire INI should be in UTF (if you want to avoid using hex) and XY should be equipped with the ability of reading off unicode settings.admin wrote:But in 7.00.0026 I DID encode strings containing "ö" in UTF8 ("ö" should be "ö"), and you told me it did not work...
Please try again with the current beta version. There's an undocumented INI Key:
EscapeUpperANSI=1
Set it to 1 and restart XY. UTF8 encoding should set in for paths containing "ö".
Okay, looks like my UnicodeToUTF8 function is not okay! Let's test it: create an empty file called "köln.txt", select it and do menu File | Rename Special | Unicode to UTF-8. It should become köln.txt. But I bet it does not, right?
FAQ | XY News RSS | XY X
-
infimum
- Posts: 116
- Joined: 30 Dec 2007 21:04
Your prediction is correct. I am not sure what "köln" is supposed to be encoded in, but "Ã" and "¶" are garbled. They shouldn't be garbled if they are really encoded in UTF8 no matter what the default encoding is.admin wrote:Okay, looks like my UnicodeToUTF8 function is not okay! Let's test it: create an empty file called "köln.txt", select it and do menu File | Rename Special | Unicode to UTF-8. It should become köln.txt. But I bet it does not, right?
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I'll upload a version with an improved UTF8 conversion in a minute. Please try the same "Köln" rename again with it...infimum wrote:Your prediction is correct. I am not sure what "köln" is supposed to be encoded in, but "Ã" and "¶" are garbled. They shouldn't be garbled if they are really encoded in UTF8 no matter what the default encoding is.admin wrote:Okay, looks like my UnicodeToUTF8 function is not okay! Let's test it: create an empty file called "köln.txt", select it and do menu File | Rename Special | Unicode to UTF-8. It should become köln.txt. But I bet it does not, right?
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I prepared a little zip containing 2 files named köln.txt and köln.txt. The also contain the words köln resp. köln.infimum wrote:No improvement.
http://www.xyplorer.com/download/cologne.zip
Here are 2 screenshots of the files and their contents. I wonder how this comes out on your system, infimum.

FAQ | XY News RSS | XY X
-
infimum
- Posts: 116
- Joined: 30 Dec 2007 21:04
Zip doesn't support unicode! So the file names are garbled as in my previous picture. Use 7z if you want to compress unicode-named (at least in my system) files/folders. Hex values appear as seen in you picture. The text itself is encoded in Windows 1252, which is, as I repeatedly said, not the default of my system. Does UnicodeToUTF8 function ever involve the encoding of Windows 1252? If so, forget it. It's not going to work.
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Sorry, here's a 7z version:infimum wrote:Zip doesn't support unicode! So the file names are garbled as in my previous picture. Use 7z if you want to compress unicode-named (at least in my system) files/folders. Hex values appear as seen in you picture. The text itself is encoded in Windows 1252, which is, as I repeatedly said, not the default of my system. Does UnicodeToUTF8 function ever involve the encoding of Windows 1252? If so, forget it. It's not going to work.
http://www.xyplorer.com/download/cologne.7z
No, the UnicodeToUTF8 converts Unicode to UTF8 -- independent of any codepage like Windows 1252. If I understand it right, codepages control the relation between bytes and screen pixels. However, the conversion we need here is just between bytes.
FAQ | XY News RSS | XY X
-
infimum
- Posts: 116
- Joined: 30 Dec 2007 21:04
OK, everything appears fine as seen in your picture. FYI, WinZip recently decided to support unicode. Other unicode-consious de/compression programs will follow WinZip's decision. In fact, the recent alpha version of 7-zip support unicode in the Zip format.
OK, I jumped the gun. Sorry. But, in that case, why is conversion like "ö" to "ö" involved at all?admin wrote:No, the UnicodeToUTF8 converts Unicode to UTF8 -- independent of any codepage like Windows 1252. If I understand it right, codepages control the relation between bytes and screen pixels. However, the conversion we need here is just between bytes.
XYplorer Beta Club
