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

Re: "Safe data was followed by non-ASCII byte ..." and other UTF-8 trouble

From: Carsten Fuchs <CarstenFuchs_at_T-Online.de>
Date: 2006-03-20 13:36:30 CET

Hi Ryan,

Ryan Schmidt wrote:
>> Carsten Fuchs wrote:
>> Setting LANG=en_US "fixes" the problem, as there are no umlauts in
>> English. So I currently use that setting as a work-around, but would
>> still be interested in learning of there is a more generic solution.
>
> Which server are you using? Is it by chance svnserve?

Yes, svnserve version 1.1.4 on a Debian 3.1 GNU/Linux system.

> If so, is the
> locale on the server a different one than on the client, keeping in mind
> the charset? For example, is the de_DE locale on the server using UTF-8
> while the de_DE locale on the client is using ISO-8859-15?

Yes, the locales are different, on the server system I have
    LANG=POSIX
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    ...
while the client is a german language Windows 2000 system with none of
the LANG* or LC* environment variables set.

> There was
> this issue I discovered recently which may relate:
>
> http://svn.haxx.se/users/archive-2006-03/0494.shtml

Oh. And I thought this was a client-only issue. ;)

> This problem of "valid UTF-8 data followed by invalid sequence" comes up
> far too often on this list, and I'd like to finally get to the bottom of
> it and solve it once and for all.

That would be phantastic! :-)

Best,
Carsten

-- 
Ca3D - Engine    http://www.Ca3D-Engine.de
Carsten Fuchs    http://www.Ca3D-Engine.de/c_Carsten.php
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 20 13:37:44 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.