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

Re: [l10n] Bug?: Unreadable characters displayed (in some messages)

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-08-12 22:42:04 CEST

> On Thu, 12 Aug 2004, Kobayashi Noritada wrote:
>
> > When using 1.1.0 RC2,
> > I found a problem about displaying messages with the locale being
> > 'ja_JP.eucJP' or 'ja_JP.ujis'.
> > The problem is that some messages are displayed with unreadable
> characters.
> > At least, following 4 messages turn into unintelligible gibberish:
> >
> > (in running 'svn log' without 'svn update' after the first commit...)
> > #: clients/cmdline/log-cmd.c:201
> > #, c-format
> > msgid "No commit for revision 0.%s"
> >
> > (in dumping with 'svnadmin dump' or loading with 'svnadmin load'...)
> > #: libsvn_repos/dump.c:1069
> > #, c-format
> > msgid "* %s revision %ld.\n"
> >
> > #: libsvn_repos/load.c:801
> > #, c-format
> > msgid "<<< Started new transaction, based on original revision %ld\n"
> >
> > #: libsvn_repos/load.c:1122
> > #, c-format
> > msgid ""
> > "\n"
> > "------- Committed revision %ld >>>\n"
> > "\n"
> >
> This is because we use svn_stream_printf for a message to the stdout, but
> that function doesn't convert from UTF-8 to the native encoding. We can
> fix this in two ways:
> - Manually convert from UTF-8 in these places.
> - Create a stream that converts from UTF-8 and acts like a filter.
>

Yea. On it. Filed as #1997. I'd like it to block on 1.1 as far as the 'svn
log' problem goes. It's easy to fix.

For the svnadmin problem, we indeed need to create a stream which uses
svn_cmdline_*printf to pass as the 'feedback stream'.

I started out working on the 'svn log' problem while I try to figure out
where to create a stream which is basically meant to be used as a
replacement for svn_cmdline-* functions....

> I'm not sure which is best. The first is minimal, I believe, so it might
> be most appropriate for back-porting to 1.1.
>

bye,

Erik.

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 12 22:42:17 2004

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

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