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

Re: Error Committing UTF-16 File

From: Michael Tsai <lists_at_mjtsai.com>
Date: 2004-08-25 00:34:31 CEST

On Aug 24, 2004, at 3:18 PM, Ben Collins-Sussman wrote:

> On Tue, 2004-08-24 at 13:21, Michael Tsai wrote:
>> Sometimes when I commit a UTF-16 file (with BOM), I get this error:
>> moya$ svn ci -m ""
>> Sending Japanese.lproj/Localizable.strings
>> Transmitting file data .svn: Commit failed (details follow):
>> moya$ svn --version
>> svn, version 1.1.0 (Release Candidate 2)
>> Is there a workaround other than changing the file to UTF-8?
> The contents of the file are irrelevant; Subversion treats all file
> contents as blobs of bytes.

That's what I thought...but it doesn't like this UTF-16 file. It was
suggested to me that I should make sure svn isn't trying to diff it as
text. But after setting the svn:mime-type to application/octet-stream,
it still produces the same non-error.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 25 00:34:58 2004

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.