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

Problem with utf-8 files and applying patches

From: Coder <eternalhubris_at_googlemail.com>
Date: Sun, 27 Apr 2008 10:58:03 -0700 (PDT)

I've been having problems with using TortoiseSVN to apply patches on
utf-8 files.
Visual Studio by default uses utf-8 encoding for C# files. If I make a
change to a C# file and use Tortoise to create a patch, then revert my
change and then apply the same patch, TortoiseMerge complains that the
patch is outdated. I have played around a lot with this and only get
problems if the byte-order marker for the utf-8 file is part of the
patch. If the patch only changes code further down the file, away from
the byte-order marker then everything is fine.

Is this a bug in Tortoise, or am I doing something wrong?

I'm running TortoiseSVN 1.4.8 on Vista. Any thoughts on this would be
appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-27 19:58:44 CEST

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