UTF-8 support?

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
Adem GENÇ
Posts: 2
Joined: Mon Jan 11, 2016 1:08 am

UTF-8 support?

Post by Adem GENÇ » Mon Jan 11, 2016 1:14 am

Hello,

It does not support UTF-8 format?

Image

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: UTF-8 support?

Post by Beth » Mon Jan 11, 2016 3:54 pm

I haven't seen any problems with UTF-8.

Which language packs are on this machine?

What characters are supposed to be in the areas that are not displaying correctly?

Would you be able to send me a sample file that isn't working?
Beth Kieler
SourceGear Technical Support

Adem GENÇ
Posts: 2
Joined: Mon Jan 11, 2016 1:08 am

Re: UTF-8 support?

Post by Adem GENÇ » Tue Jan 12, 2016 6:29 am

Hello,

Local tranche Turkish,
Files Turkish

suggestion
Select the Text Encoding when opening files
Attachments
Turkish_sample_files.zip
(23.77 KiB) Downloaded 604 times

joe_sg
Posts: 27
Joined: Tue Oct 28, 2008 1:20 pm
Location: SourceGear

Re: UTF-8 support?

Post by joe_sg » Wed Jan 20, 2016 5:05 pm

DiffMerge does support UTF-8. By default it will look for a Byte Order Mark (BOM) at the beginning of the file to determine the encoding used for that file. In the absence of a BOM, your System Default will be used.

This is all configurable, however. Go to Tools -> Options, and under "File Windows" you'll see "Rulesets". Here you can set the encoding (and other settings) for various types of files, determined by file suffix (extension). There is also a Default that is used when no suffix match is found.
sshot-792.png
sshot-792.png (20.46 KiB) Viewed 10427 times
For each Ruleset you can choose the character encoding, or you can choose to Ask when the file is loaded.
sshot-793.png
sshot-793.png (18.48 KiB) Viewed 10427 times
Hope this helps.
sshot-794.png
sshot-794.png (110.4 KiB) Viewed 10426 times
Joe Ream
SourceGear Technical Support

Post Reply