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

Re: Problem with UTF-8-files and creating and appliying patches

From: Felix Saphir <felix.saphir_at_presswatch.de>
Date: Wed, 17 Feb 2010 14:01:27 +0100

Carsten Schuette schrieb:
> Hi,
>
> I have a file that contains a UTF-8 marker BOM at the beginning. Modifying,
> committing and checking this file works fine. But when I create a patch of a
> file that was modified in the first few lines, the patch does not contain
> this BOM characters. This is fine. But the patch cannot be applied again,
> because TortoiseMerge does not handle files with the BOM tag correctly.
>
> Any ideas?

What about removing the BOM in the first place? You don't need a BOM for
UTF-8 and it can lead to various problems (like the one you're reporting).

Felix

-- 
  /^\ | ASCII Ribbon Campaign
  \ / | - no HTML in email and news
   x  | http://www.asciiribbon.org/
  / \ | http://www.gerstbach.at/2004/ascii
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2448352
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-17 14:01:38 CET

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.