[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: Kobayashi Noritada <nori1_at_dolphin.c.u-tokyo.ac.jp>
Date: 2004-08-12 18:16:48 CEST

Hi Erik,

From: "Erik Huelsmann" <e.huelsmann@gmx.net>
Subject: Re: [l10n] Bug?: Unreadable characters displayed (in some messages)
Date: Thu, 12 Aug 2004 12:27:12 +0200 (MEST)

> > 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.
> >
>
> > So far other help/info/error messages (e.g. messages in commiting locally,
> > results of running 'svn log', 'svn info' or 'svnlook history') are
> > displayed
> > correctly in ja_JP.eucJP.
> > But I think other messages possibly turn into unintelligible gibberish.
>
> Could you show us some output? What does the gibberish look like? strings of
> \x999 characters?

Sorry for missing descriptions in detail.
Now I know what unreadable characters are.
They are UTF-8 characters.

Since I am using a non-UTF8 language environment (EUC-JP), most of messages are
converted when displayed.
But described 4 messages are displayed without character encoding conversion.
So they look as gibberish.

For each of output messages, I compared (A) actual output, (B) expected output
in EUC-JP, and (C) UTF-8 output converted from (B).
Then I found:
* (A) == (B) != (C) for most of messages
* (A) == (C) != (B) for described 4 messages

> Do the translated or untranslated messages cause these problems?

Many translated messages are displayed correctly.
It seems that whether translated or not does not matter.

> Can you give us more info (as much as you can think of) describing your
> system, svn version, message translation, etc?

The environment is as follows:
* OS: Debian GNU/Linux 3.0r2 (woody)
* terminal: kterm or mlterm
* $LANG: ja_JP.eucJP
* svn: compiled from the 1.1.0 RC2 tarball without modification (except for
  './configure --prefix=$HOME')
* message translation: ja.po included in 1.1.0 RC2 tarball (same as that in
  the /trunk/subversion/po/ja.po and /branches/1.1.x/subversion/po/ja.po)

Any other information required?

I'm sorry if this is due to libraries in my environment.
But so far I cannot distinguish among the possible causes.
Also I cannot understand why not all of the messages turn into gibberish
though I understand what unreadable characters are.

Regards,

-- 
|:  Noritada KOBAYASHI
|:  Dept. of General Systems Studies,
|:  Graduate School of Arts and Sciences, Univ. of Tokyo
|:  E-mail: nori1@dolphin.c.u-tokyo.ac.jp (preferable)
|:          nori@esa.c.u-tokyo.ac.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 12 18:16:57 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.