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

Re: Bug: pre-commit rejection message character encoding

From: Anders Munch <ajm_at_flonidan.dk>
Date: Wed, 12 Aug 2009 10:35:21 +0200

Stefan Küng wrote:
> On 11.08.2009 10:56, Anders Munch wrote:
> > I'm outputting utf-8 text from my pre-commit hook script, but what I'm
> > seeing in TSVN is mojibake that looks like utf-8 bytes interpreted as
> > latin-1.
>
> The hook messages are handled by the svn library. You might want to ask
> on the svn mailing list for help about this.

It could conceivably be a bug in TSVN where the error string received
was treated as being in the local default encoding. But you're saying
that's not the case, then? I was hoping it was because then I'd have
a good outlook on getting it fixed:)

If it's on the server side, then that means someone deliberately
injected a server-side transcoding step, and that someone is going to
claim it's a feature and ... well, I'm just going to resign myself to
the fact that it is impossible to write a portable hook script with
extra-ascii characters.

regards, Anders

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2382826

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-12 10:35:31 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.