Hello,
Russian comments in .m files created by XCode are being shown broken like:
//–ї—Г–љ–љ—Л–є –і–µ–љ—М - –ї–µ–є–±–ї (–Ф–µ–љ—М)
Broken comments encoding in 4.2.1
Moderator: SourceGear
Re: Broken comments encoding in 4.2.1
This is just a guess, but you may want to look at the DiffMerge options.
Under File Window -> Rulesets, create a new Ruleset for Xcode or .m files, assuming one does not already exist.
On the new Ruleset properties, enter the name, and file extensions (separated by spaces). For Character Encodings, see if you can find one that properly displays the encoding of your file.
Save the Ruleset, and retry a diff to see if the output is displayed correctly.
Note, there is a 'Default' Ruleset as well, so if most of your files are using the same code page, you can change the character encodings for those too.
Under File Window -> Rulesets, create a new Ruleset for Xcode or .m files, assuming one does not already exist.
On the new Ruleset properties, enter the name, and file extensions (separated by spaces). For Character Encodings, see if you can find one that properly displays the encoding of your file.
Save the Ruleset, and retry a diff to see if the output is displayed correctly.
Note, there is a 'Default' Ruleset as well, so if most of your files are using the same code page, you can change the character encodings for those too.
Jeff Clausius
SourceGear
SourceGear
Re: Broken comments encoding in 4.2.1
Thanks, I edited Ruleset C/C++/C# and added m extension there. Than I changed encoding to UTF-8 and had to change font too (default Courier does not have Russian chars, the comments were shown with another one).
Now it works, thanks.
Maybe for the future you could change this Ruleset to use utf? Western European encoding supports only English.
Now it works, thanks.
Maybe for the future you could change this Ruleset to use utf? Western European encoding supports only English.
Re: Broken comments encoding in 4.2.1
Thank you for feedback. I'm glad that solved the problem.
Jeff Clausius
SourceGear
SourceGear