[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: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2004-08-27 16:43:56 CEST

On Aug 24, 2004, at 5:34 PM, Michael Tsai wrote:

> 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.

Can you send me the file? I'll try to reproduce your "non-error error"
on my Mac OS X box.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 16:45:06 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.