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

Bug with UTF-8 files

From: Igor Paliychuk <mansonigor_at_gmail.com>
Date: Wed, 27 Jul 2011 18:03:56 +0300

Hi. I'm using TortoiseSVN 1.6.16, Build 21511 and have next bug:

patch with newly created file(s) in utf-8 codepage is applied wrong. Here is
the explanation:

1. Create new file in utf-8 (without BOM)
2. Add to it some lines with text in few languages, that have different ansi
codapages(eg russian(ansi - 1251) polish(ansi-1250) english(ansi-1252) etc)
3. Create patch using tortoisesvn. At this stage all looks fine- when you'll
open patch the codepage will be treated as utf and all chars are ok
4. Revert changes to tree(or use another tree) and apply patch. Tortoisesvn
will create needed file but it will be not in utf-8 but in ansi with broken
non1252-chars.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2804652

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-27 17:07:50 CEST

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

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