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

Tortoise SVN v1.3.5, Build 6804-32bit : possible bug: Mangled utf8 text (chinese, japanese, russian) after diff

From: Veit Koeninger <vkoeni_at_woodward.com>
Date: 2006-07-04 16:27:15 CEST

Hello,

We encountered a problem while using TortoiseMerge with utf8 encoded XML files. TortoiseMerge seems to destroy the text.

Environment:
Windows XP professional
version 2002
service pack 2

TortoiseSVN 1.3.5, Build 6804 - 32 Bit
Subversion 1.3.2,
apr 0.9.7
apr-iconv 0.9.7
apr-utils 0.9.7
berkeley db 4.3.28
neon 0.25.4
OpenSSL 0.9.8a 11 Oct 2005
zlib 1.2.3

What was done (described in probably too much detail):
- A file "EG3000_testdatabase.xml" was created and committed. This file has XML format and contains utf8 encoded text. A part of this is in japanese, chinese or russian.
- A little change was done (line 197: 1 character) and the file was committed again
- The file was selected in windows explorer and "tortoise SVN / show Log" was activated
- In the list of log messages, two versions are visible. The older one was selected and "compare with working copy" was activated
- TortoiseMerge opens
- The one line, which was changed before, was highlighted
- in the right screen ("working copy"), this line was selected and with right click the "use other text block" command was isuued.
- the text in the right screen changes and is identical to the left screen now.
- the "save file" button was pressed and TortoiseMerge was closed
- When I now right click on the file in the windows explorer and do a "tortoiseSVN / diff", I see that my local file is destroyed.
  All chinese/japanese/russian texts were changed. (lines 218,224,227, 280, 286, 289, 342, 348, 351)

Attachments:
the original XML file: EG3000_testdatabase.xml
the destroyed XML file: EG3000_testdatabase_corrupt.xml

Other info:
We checked with Tortoise SVN v1.3.3, Build 6219 - 32 Bit. This version does not have the problem.

Mit freundlichen Grüßen / Best regards

Veit Koeninger

 <<EG3000_testdatabase.xml>> <<EG3000_testdatabase_corrupt.xml>>

***
The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error, please notify the sender by return e-mail, delete this e-mail, and refrain from any disclosure or action based on the information.
***

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

Received on Tue Jul 4 16:34:33 2006

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