Hello,
I have a problem in Total Commander 10.00 (x64).
The link to a folder that has uppercase letters with Czech accents in the name is broken while adding it to wincmd.ini.
The uppercase characters with Czech accents are replaced with an underscore.
The "cd d:\Downloads\KLÁŠTER_II" becomes "cd d:\Downloads\KL_TER_II" after saving.
And this happens after pressing Ctrl+D --> Add current dir.
If I edit wincmd.ini manually, then the link looks fine, but the directory change still doesn't happen.
For folder names with lowercase Czech characters there is everything ok.
Is there any solution to this problem?
Thank you.
Directory menu - unable to add folders in Unicode uppercase names
Moderators: Hacker, petermad, Stefan2, white
Re: Directory menu - unable to add folders in Unicode uppercase names
1. Open Help -> About Total Commander and locate your wincmd.ini.
2. Close TC, open wincmd.ini in Notepad and save it as "wincmd.ini" with Unicode (UTF-16LE) encoding.
3. Run TC and try again.
2. Close TC, open wincmd.ini in Notepad and save it as "wincmd.ini" with Unicode (UTF-16LE) encoding.
3. Run TC and try again.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Directory menu - unable to add folders in Unicode uppercase names
The wincmd.ini only supports ANSI and UTF-16LE encoding. If you save it with notepad as UTF-8, it will not work.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Directory menu - unable to add folders in Unicode uppercase names
I have ANSI. In the presence of such characters, the record is formed as follows:
Everything is readable, doubling the size of wincmd.ini is not required.menu153=п»їKLГЃЕ TER_II
cmd153=п»їcd D:\Downloads\KLГЃЕ TER_II
In ANSI, this cannot be done manually.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Directory menu - unable to add folders in Unicode uppercase names
Indeed if your wincmd.ini is using ANSI, you can't nomally store Unicode characters from different code pages in it. TC solves this by storing individual strings as UTF-8 with the UTF-8 byte order mark (what you see as п»ї). You can't edit that manually, that's why you would have to save the entire ini as UTF-16.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com