You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jo...@gmail.com on 2006/03/31 11:58:12 UTC

Problem with UTF-8 / locale settings

I kept having the following problem with subversion: when doing a
  svn -v -list
command I got the following error messages:
  svn: Valid UTF-8 data
  (hex: 4d)
  followed by invalid UTF-8 sequence
  (hex: e4 72 20 32)

I am running subversion version 1.2.3 (r15833) under OpenSuse Linux 10.0

After some playing around I found that this is due to my locale setting:
  LANG="en_US.UTF-8"
  LC_TIME="de_AT"

changing LANG had no impact, but changing the LC_TIME setting to
en_US made to problem go away.

As it turns out the reason seems to be that "March" is printed "März"
(i.e. with an Umlaut) in German and that caused the hickup in
subversion.

This is obviously a subversion bug and I thought I'd share it for the
benefit of those who get similar errors because of insufficient
suport for non-US locales in subversion.

Making tags write-once with a pre-commit hook

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
Good morning!

I'm looking at a software release situation where I want users to be able to 
create tags, but not to be able to edit them once they are in place. I don't 
have a release engineer to put in charge of creating the release candidates, 
and I want to keep the users unable to alter or modify tags once they are 
committed the first time.

Does anyone have a good pre-commit hook or similar technique for doing that? 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem with UTF-8 / locale settings

Posted by jo...@gmail.com.
You are right: de_AT.UTF-8 does indeed work.
What is confusing is that none of my other programs ever complained, so I
thought it was
OK, but in connection with en_US.UTF-8 does does make sense, of course.

Thanks you!
  Johann

On 3/31/06, Ryan Schmidt <su...@ryandesign.com> wrote:
>
> On Mar 31, 2006, at 13:58, johann.petrak@gmail.com wrote:
>
> > I kept having the following problem with subversion: when doing a
> >   svn -v -list
> > command I got the following error messages:
> >   svn: Valid UTF-8 data
> >   (hex: 4d)
> >   followed by invalid UTF-8 sequence
> >   (hex: e4 72 20 32)
> >
> > I am running subversion version 1.2.3 (r15833) under OpenSuse Linux
> > 10.0
> >
> > After some playing around I found that this is due to my locale
> > setting:
> >   LANG="en_US.UTF-8"
> >   LC_TIME="de_AT"
> >
> > changing LANG had no impact, but changing the LC_TIME setting to
> > en_US made to problem go away.
> >
> > As it turns out the reason seems to be that "March" is printed "März"
> > (i.e. with an Umlaut) in German and that caused the hickup in
> > subversion.
> >
> > This is obviously a subversion bug and I thought I'd share it for the
> > benefit of those who get similar errors because of insufficient
> > suport for non-US locales in subversion.
>
> I presume you need to use LC_TIME="de_AT.UTF-8" instead of just de_AT.
>
>
>

Re: Problem with UTF-8 / locale settings

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 31, 2006, at 13:58, johann.petrak@gmail.com wrote:

> I kept having the following problem with subversion: when doing a
>   svn -v -list
> command I got the following error messages:
>   svn: Valid UTF-8 data
>   (hex: 4d)
>   followed by invalid UTF-8 sequence
>   (hex: e4 72 20 32)
>
> I am running subversion version 1.2.3 (r15833) under OpenSuse Linux  
> 10.0
>
> After some playing around I found that this is due to my locale  
> setting:
>   LANG="en_US.UTF-8"
>   LC_TIME="de_AT"
>
> changing LANG had no impact, but changing the LC_TIME setting to
> en_US made to problem go away.
>
> As it turns out the reason seems to be that "March" is printed "März"
> (i.e. with an Umlaut) in German and that caused the hickup in
> subversion.
>
> This is obviously a subversion bug and I thought I'd share it for the
> benefit of those who get similar errors because of insufficient
> suport for non-US locales in subversion.

I presume you need to use LC_TIME="de_AT.UTF-8" instead of just de_AT.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org