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

Re: UTF-16 files and inconsistent line endings

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 14 Oct 2010 11:57:15 +0200

On Thu, Oct 14, 2010 at 09:29:50AM +0100, David Aldrich wrote:
> Hi
>
> I am developing with Visual C++ Express 2008 on Windows. I needed to add some Japanese characters to a source file, whereupon the editor stored the file in UTF-16LE encoding. Subversion (1.6.12) now complains that the file has inconsistent EOL-style.
>
> Does Subversion 1.6 support UTF-16LE encoding?

Only if you mark the file as binary.

> Is there a workaround for this, such as setting eol-style to CRLF (i.e. not native)?

Mark the file as binary.
See http://subversion.tigris.org/issues/show_bug.cgi?id=2194

Stefan
Received on 2010-10-14 11:58:05 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.