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

Re: Remaining l10n issues

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-05-06 00:02:58 CEST

> On Wed, 5 May 2004, Erik Huelsmann wrote:

> > > we already have suc a function. It's called
> > > svn_cmdline_cstring_from_utf8 (or svn_cmdline_cstring_from_utf8_fuzzy,
> > > if you don't need strict conversion).
> >
> > Yea. Peter got there before I did, but I was about to propose using the
> > _fuzzy() variant for user messages, since it generally is more important
> to
> > show half the message then to error out. OTOH that would mean that
> locale
> > settings problems will show up somewhat cryptic...
> >
> I don't follow you here. Doesn't _fuzy() convert everything non-ASCII to
> ?\XXX? I agree that this is good if there is a conversion error, but not
> in the normal case. What convert_string_for_output in error.c does is to
> try svn_cmdline_cstring_from_utf8() first and if it fails, falls back on
> svn_cmdline_cstring_from_utf8_fuzzy() to at least get something out even
> if it looks ugly. Isn't that what we want?

It is. I was mistakingly thinking that that is the functionality provided by
svn_cmdline__cstring_from_utf8_fuzzy().

bye,

Erik.

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebhr: http://www.gmx.net/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 6 00:03:14 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.