I'm really liking Beyond Compare, but I have been having issues with character encoding as of late (in 2-way text comparison of course). I don't think BC is handling things badly, but it's confusing me. Here's the behavior I'm seeing:
When I have a file encoded in cp936 (Chinese simplified), and I open it using BC when Windows regional settings are set to use cp936 as default for non-Unicode programs, BC shows it has ANSI encoding (which is incorrect I think), but displays it appropriately.
When I open the same file when Windows regional settings are set to English (United States) BC shows the encoding as 00936 (ANSI/OEM) Chinese Simplified, which is correct, and the file looks the same as in the first example.
So, a couple of questions on this. First, why does the encoding show as ANSI when I'm in Chinese regional settings? It doesn't seem like the correct designation. Second, why can I display the file in cp936 when BC detects the encoding, but I can't force encoding to cp936 from the drop-down for other files? I see GB2312, 18030 and HK, as well as a traditional Chinese form in the drop-down, but I don't see anything specifically desigated as cp936. I don't really know how the drop-down is generated either, since it seems to change depending on what computer I'm using.
Many thanks for any help you can give.
When I have a file encoded in cp936 (Chinese simplified), and I open it using BC when Windows regional settings are set to use cp936 as default for non-Unicode programs, BC shows it has ANSI encoding (which is incorrect I think), but displays it appropriately.
When I open the same file when Windows regional settings are set to English (United States) BC shows the encoding as 00936 (ANSI/OEM) Chinese Simplified, which is correct, and the file looks the same as in the first example.
So, a couple of questions on this. First, why does the encoding show as ANSI when I'm in Chinese regional settings? It doesn't seem like the correct designation. Second, why can I display the file in cp936 when BC detects the encoding, but I can't force encoding to cp936 from the drop-down for other files? I see GB2312, 18030 and HK, as well as a traditional Chinese form in the drop-down, but I don't see anything specifically desigated as cp936. I don't really know how the drop-down is generated either, since it seems to change depending on what computer I'm using.
Many thanks for any help you can give.
Comment