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

Re: characters garbled TortoiseSVN 1.5.5, Build 14361

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Mon, 05 Jan 2009 18:23:09 +0100

Edwin wrote:
> Dear:
> I got characters garbled when file auto merge my working space
> files which is .cpp with unicode encoding.It contains comments with
> chinese in many lines but the line become characters garbled before
> merge was blank.is there anyone experienced the problem?

If your files are in utf-16 (commonly known as 'UNICODE' in VS), then
you must not have the svn:mime-type property set of such files as 'text'
but as 'binary' (e.g., application/octed-stream).

Otherwise svn treats such files as ANSI text files (which they're not)
and you can end up with a big mess.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-01-05 18:23:51 CET

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