[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] [Patch] TMerge Unicode build

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-04-17 13:32:18 CEST

Norbert Unterberg schrieb:

> At least a diff and merge now works even with UTF-8 file containing
> russian and chinese characters, even on a German windows.

I must have introduced a new bug (or uncovered an old one) with that
patch. If you diff and modify UTF-8 files that do not have a BOM (like
the Tortoise *.po language files), some of the special characters are
still destroyed. I guess it is because these files are interpreted as
ANSI and converted to UTF-16 which might fail because UTF8 files may
contain characters that can not be mapped to UTF16 and back :-(
I'll have a look at that later, but don't think I have time for this
today...

I guess the only true way to solve these kind of problems is not to
convert user's data at all when diffing/merging/loading/saving, only try
to convert to correctly display the text.

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Apr 17 13:33:11 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.