cm_LoadSelectionFromClip does not support the Chinese charac
Moderators: Hacker, petermad, Stefan2, white
cm_LoadSelectionFromClip does not support the Chinese charac
This command does not support the Chinese character "一" and "开" at the beginning of the words
for example:
一键加速
一淘
一粒
开水
开放
开心
for example:
一键加速
一淘
一粒
开水
开放
开心
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for your report, I could reproduce the problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I found the problem - it happens because in this case the first BYTE of the Unicode string is 0. The function accepts Unicode and ANSI text, and only checked the first byte whether it was 0, not the first 2 bytes in case of Unicode...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should be fixed in TC 8.52 beta 1, can anyone try it please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: