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

eol-style and utf-16

From: engelbert gruber <engelbert.gruber_at_gmail.com>
Date: Mon, 30 Oct 2017 21:57:29 +0100

hi

checking in a file with eol-style native on unix : eol = 0x0a
checking it out on windows : 0x0a is replaced by 0x0d 0x0a

when the file is in utf-16 : eol ist 0x00 0x0a
and when checked out on windows this becomes : 0x00 0x0d 0x0a

which breaks utf-16 as far as i understand it

possible fixes:

* get utf-## aware
* add a charsize property
* document it
* recommend eol-style a nonnative eol-style: LF CR or CRLF

all the best
  e
Received on 2017-10-30 22:05:53 CET

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