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

Re: mangled ?\nnn encoding; os.popen; only in hook script

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2006-05-22 12:45:39 CEST

On 5/22/06, Ryan Schmidt <subversion-2006q2@ryandesign.com> wrote:
> On May 22, 2006, at 12:02, B. Smith-Mannschott wrote:
>
> [snip]
>
> > _U ?\195?\188bermittlung.txt
> > _U ?\195?\188bermittlung2
> > _U FOO
>
> [snip]
>
> I believe the solution is to set the LANG environment variable in
> your script? In a shell script that would be:
>
> export LANG=en_US.utf8
>
> or whatever charset you're using. As far as I know, it doesn't matter
> if you use a UTF-8 locale or not, it just matters that you set *some*
> locale so that Subversion knows what you're using so it can convert
> from that to UTF-8.
>

Thanks! This did the trick for me:

    os.environ["LANG"]="en_US.UTF-8"

// ben
Received on Mon May 22 12:47:50 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.