Shift-JIS (Japanese) support

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
David Hawley
Posts: 6
Joined: Wed Jun 22, 2005 12:07 am
Location: Tokyo
Contact:

Shift-JIS (Japanese) support

Post by David Hawley » Wed Jun 22, 2005 12:15 am

I work with Japanese language files.

They display corrupted characters in the DiffMerge Tool.

When I tried to set cp932 or shift-jis in the DiffMerge Tool character encodings, it wouldn't let me. I noticed then that there is no appropriately named file in ..\SourceGear\Vault Client\iconv directory.

1. Is Japanese supported? Is there somewhere I can get an appropriate .SO file?

2. What is the effect of the specified candidate encodings on file storage in the repository? Is there any chance of corruption when double-byte files are stored in the repository? Or UTF-8?

Thanks.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Jun 22, 2005 11:08 am

Unfortunately, we have not really tested sgdm with Japanese characters. It may or may not work, but I've attached the .so files for shift-jis and cp932 so you can try it out. If it doesn't, we do support the ability to specify other diff tools that are compatible with other character sets.

Storing files of any type are not a problem. In fact, the server treats all files as binary when it stores them and computes deltas between versions, so you shouldn't have a problem in the repository
Attachments
iconv.zip
cp932.so and shift-jis.so
(140.02 KiB) Downloaded 691 times

David Hawley
Posts: 6
Joined: Wed Jun 22, 2005 12:07 am
Location: Tokyo
Contact:

That seems to have worked

Post by David Hawley » Wed Jun 22, 2005 4:55 pm

The characters show up properly now. If I have any problems with diff/merge, I'll post.

Thanks.

Post Reply