[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 12:16:30 +0200

Jean-Marc van Leerdam wrote:
> 2009/8/12 Anders Munch <ajm_at_flonidan.dk>:
> > 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.
> >
> Can't you verify this with the svn command line client?

That's not so easy: The CL client has no way of displaying Unicode
directly, it must spit out bytes; whether these bytes are correct or
not depends on which encoding they were supposed to be in. But I
don't know which encoding they are supposed to be in; there's no
switch to request a specific encoding, and I know of no documentation
on what sort of guessing-game the CL client uses to choose an
encoding. To make things worse, sometimes it spits out strange,
undocumented escape sequences like \?123 which noone seems to know
what to make of.

I can't demonstrate faulty behaviour when I don't know what the
intended behaviour is.

regards, Anders


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

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