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

Re: [PATCH] readable error messages on non-ASCII systems, v2

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Mon, 17 May 2010 10:25:00 +0100

(Cc'ing the dev@ list.)

On Fri, 2010-05-14, Greg Ames wrote:
> Fri, May 14, 2010, Julian Foad wrote:
> > In an attempt both to understand and to minimize the patch: would you
> > get the same result by converting 'err->message' from native encoding to
> > UTF-8 and then printing it in the way that it currently is printed?
>
> I had to adjust the patch to fit 1.5.6 (no SQLite here). Then
> svn_utf_* reported that there were non-UTF-8 characters at the
> beginning of the message. This time it was the "svn: " prefix passed
> to svn_cmdline_fprintf a few lines down. I changed the patch to also
> convert the prefix input variable to UTF-8 and pass that to
> svn_cmdline_fprintf, and I see readable error messages again.

Hi Greg. Great - it sounds like that gives you a less invasive solution
to that particular bit. Let us know how you get on.

- Julian
Received on 2010-05-17 11:25:41 CEST

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