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

Re: UTF-8 conversion error

From: Aaron Montgomery <eeyore_at_monsterworks.com>
Date: 2006-04-21 21:03:49 CEST

On Apr 21, 2006, at 11:05 AM, Sascha Kratky wrote:

> Ryan,
>
> I didn't have the environment variable $LANG set. I followed your
> suggestion an added the LANG=en_US.UTF-8 setting.
> I can now check out the file from the subversion repository, but
> when I run "svn status" in the directory where the files resides I
> get:
>
> ? Wien 05_12_19 - ÖVG.doc
> ! Wien 05_12_19 - ÖVG.doc
>
> The file is reported as both "not under version control" and
> "missing". How can that be?
>
> Thanks,
> Sascha
>

I work on a text editor for Mac OS X and I know that we've had
problems because of the way the system handles decomposed vs. non-
decomposed Unicode characters. It is possible that SVN is expecting
to find an decomposed Ö and you've got a non-decomposed Ö in the name
of the file sitting in the directory. I'm not sure the best way to
handle this. Mac OS is not very well behaved since its decision on
how to represent UTF-8 is not the standard one (I think the standard
says that you should use the shortest encoding and Mac OS X prefers
to always use decomposed characters, but I'm not really sure).
Possibly setting everything to ISO-8859 might solve this problem.

Good luck and please post to the list if you find the root of the
problem and a solution, although this hasn't bitten us yet, it might
at some point.
Aaron

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 22 02:19:05 2006

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.