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

Re: Mixing encodings in one patch file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 16 Jul 2009 14:30:57 +0200

John Z wrote:
> Is it possible to mix encodings in one Unified Diff patch file?
>
> I have some Java projects, which have many ANSI encoded files and also
> many UTF-8 encoded files to support Asian languages, but when I create a
> patch file, the ANSI encoded text and UTF-8 encoded text appear in a
> same patch file and make it unreadable. I can't apply this patch either.
> There are so many files that I cannot anticipate the encoding of each
> file before I create a patch file.
>
> Is there a solution? Or, will TortoiseSVN auto detect the encodings, and
> auto group them, and ...auto generate two patch files, in the future?

Patching will get improved a lot in 1.7 since from then on, it's part of
the svn library and there's also a new patch format that includes
renames/moves properly and also includes svn properties.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2371731
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-16 14:31:18 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.