[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: Edwin <EdwinTai_at_gmail.com>
Date: Mon, 5 Jan 2009 18:32:01 -0800 (PST)

Thanks.I didn't set my source files mime-type property as text or
binary before.I will give it a try.

On 1月6日, 上午1時23分, Stefan Kueng <tortoise..._at_gmail.com> wrote:
> 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.
>
> 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&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> signature.asc
> < 1K檢視下載

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-06 07:05:47 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.