Problem set DiffMerge Tool character encodings.
Moderator: SourceGear
Problem set DiffMerge Tool character encodings.
I use simplified Chinese language files.
But I can't set gb2312 character encodings in the DiffMerge Tool.
thanks a lot!
ps. SourceGear Vault Client version is 3.1.8 (3771)
But I can't set gb2312 character encodings in the DiffMerge Tool.
thanks a lot!
ps. SourceGear Vault Client version is 3.1.8 (3771)
Add the attached .so file to the location where the other sgdm .so files are, and after restarting the tool, it should be available.
- Attachments
-
- gb2312.zip
- gb2312.so
- (37.32 KiB) Downloaded 668 times
That dialog screenshot doesn't look like it makes any sense.
GB-2312 is not a unicode encoding.
#1)
I recommend you try checking the ANSI radio checkbox (that is a very poorly named button, but it follows Microsoft's poor naming convention) and putting GB-2312 into that box.
(ANSI doesn't mean ANSI, it means non-Unicode, in Microsoft-language.)
#2)
I suggest that the software should warn the user if it finds an inappropriate such string in the Unicode edit box, because I doubt that that makes any sense.
Caveat: I'm no expert on these subjects, and I've not tried this myself.
GB-2312 is not a unicode encoding.
#1)
I recommend you try checking the ANSI radio checkbox (that is a very poorly named button, but it follows Microsoft's poor naming convention) and putting GB-2312 into that box.
(ANSI doesn't mean ANSI, it means non-Unicode, in Microsoft-language.)
#2)
I suggest that the software should warn the user if it finds an inappropriate such string in the Unicode edit box, because I doubt that that makes any sense.
Caveat: I'm no expert on these subjects, and I've not tried this myself.
OK, we've found the problem. gb2312.so actually depends on another encoding called gb_2312-80.so. So, you need to install the gb_2312-80.so file into the same inconv folder, and then gb2312 should load. It is in the attached file
- Attachments
-
- gb_2312-80.zip
- (70.03 KiB) Downloaded 703 times
GB-2312 is a very old encoding for simplified Chinese, at least judging by the info on wikipedia:
http://en.wikipedia.org/wiki/GB2312
It looks to me like GB-2312 is also known as GB2312-80 because it was created in 1980.
It looks like it was obsoleted in 1993 by GBK, which was in turn obsoleted in 2000 by GB-18030 (or GB18030-2000), which is now the mandated encoding for PRC (since 2001).
http://en.wikipedia.org/wiki/GB2312
It looks to me like GB-2312 is also known as GB2312-80 because it was created in 1980.
It looks like it was obsoleted in 1993 by GBK, which was in turn obsoleted in 2000 by GB-18030 (or GB18030-2000), which is now the mandated encoding for PRC (since 2001).