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

Re: pre-commit hook stderr output encoding

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 16 Oct 2009 18:54:59 +0100

On Fri, Oct 16, 2009 at 05:29:34PM +0200, Nicolai Scheer wrote:
> Hi!
>
> Today, I stumbled upon a strange issue.
>
> I use ubuntu karmic + apache 2.2.12 for serving a test-repository.
>
> The following pre-commit hook script works perfectly fine:
>
> #!/bin/bash
> LC_ALL=en_US.UTF-8
> echo "test" >&2
> exit 1
>
> However, if I add some german umlaut:
>
> #!/bin/bash
> LC_ALL=en_US.UTF-8
> echo "test รค" >&2
> exit 1
>
> an svn command line client says (either on a remote windows machine or
> locally:
>
> Commit blocked by pre-commit hook (exit code 1) with output:
> [Error output could not be translated from the native locale to UTF-8]
 
> Any suggestions?

This is known: http://subversion.tigris.org/issues/show_bug.cgi?id=2487

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2408298

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-16 19:57:49 CEST

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.