Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread green
On Wed, 14 Feb 2007 23:37:13 +0900 (JST)
Tatsuya Kinoshita [EMAIL PROTECTED] wrote:
 green, could you please type `su' and then `locale'?  I guess that
 your gnome-terminal is invoked as ja_JP.UTF-8, but your su
 environment is under ja_JP.eucJP, so the problem occurs.

Thank you for your postings. As you requested, see below

$ su
Password:
debian:/home/foo# echo $LANG
ja_JP.EUC-JP

Nevertheless /etc/default/locale shows as below:

$ cat  
#  File generated by update-locale
#LANG=ja_JP.UTF-8

This is because I did NOT set a default locale by
a command # dpkg-reconfigure locales

Regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread green
I had to send you an additional report here.

I got an updater of a new locales package just now
by apt-watch updater. After adopting it, it goes as below; 

取得:5 http://ftp.jp.debian.org etch/main locales 2.3.6.ds1-11 [4003kB] 
Generating locales (this might take a while)...
  ja_JP.EUC-JP... done
  en_US.ISO-8859-1... done
  en_US.UTF-8... done
  ja_JP.UTF-8... done
Generation complete.



$ cat /etc/default/locale
#  File generated by update-locale
LANG=ja_JP.EUC-JP

Tuus, a behaviour has changed as above.

Regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread green
And may needs an additional report.

When I just noticed that sh message in Japanese
in my locale, its message shows quite correctly
so far in Japanese characters. See a screecshot
below;

http://www.h7.dion.ne.jp/~greens/Screenshot-sh.png

But gnome-terminal still fails to encode Japanese
characters.

Regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread Tatsuya Kinoshita
On February 15, 2007 at 8:58PM +0900,
green (at r8.dion.ne.jp) wrote:

 $ su
 Password:
 debian:/home/foo# echo $LANG
 ja_JP.EUC-JP

 Nevertheless /etc/default/locale shows as below:

 $ cat
 #  File generated by update-locale
 #LANG=ja_JP.UTF-8

 This is because I did NOT set a default locale by
 a command # dpkg-reconfigure locales

On February 15, 2007 at 9:06PM +0900,
green (at r8.dion.ne.jp) wrote:

 取得:5 http://ftp.jp.debian.org etch/main locales 2.3.6.ds1-11 [4003kB]
 Generating locales (this might take a while)...
[...]
 $ cat /etc/default/locale
 #  File generated by update-locale
 LANG=ja_JP.EUC-JP

 Tuus, a behaviour has changed as above.

I guess that your /etc/environment contains LANG=ja_JP.EUC-JP, so
it is used as a default locale.

--
Tatsuya Kinoshita


pgpHzVngb0Bbe.pgp
Description: PGP signature


Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread Tatsuya Kinoshita
On February 15, 2007 at 9:23PM +0900,
green (at r8.dion.ne.jp) wrote:

 But gnome-terminal still fails to encode Japanese
 characters.

Again, a terminal must be configured to use the same encoding as
the locale which is used by programs launched inside the terminal.
(If you want to use EUC-JP inside the terminal, you must configure
the terminal to use EUC-JP.)

If you believe your configuration is correct and this is a bug,
please provide more information so that we can reproduce the problem.

--
Tatsuya Kinoshita


pgpH7O3Jry5kp.pgp
Description: PGP signature


Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread green
On Thu, 15 Feb 2007 22:49:42 +0900 (JST)
Tatsuya Kinoshita [EMAIL PROTECTED] wrote:
 I guess that your /etc/environment contains LANG=ja_JP.EUC-JP, so
 it is used as a default locale.

As you pointed out, it is so.

$ cat /etc/environment
LANGUAGE=ja_JP:ja:en_GB:en

LANG=ja_JP.EUC-JP


But I did not edit the /etc/environment manunaly.

Regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-15 Thread green
On Thu, 15 Feb 2007 23:03:05 +0900 (JST)
Tatsuya Kinoshita [EMAIL PROTECTED] wrote:
 (If you want to use EUC-JP inside the terminal, you must configure
 the terminal to use EUC-JP.)

I do not desire to use EUC-JP, not only inside the terminal
but also in the system level.

Seems the matter a little complicated.
Then, let's make it simple.

It seems the problem is that dpkg-reconfigure locales
does not reflect a system locales correctly.

If you choose Locale=NONE by that command,
I expect ja_JP.EUC-JP will not configure
as a system default.

Nevertheless, a locale command displays as:

# locale
LANG=ja_JP.EUC-JP
LANGUAGE=ja_JP:ja:en_GB:en
LC_CTYPE=ja_JP.EUC-JP
LC_NUMERIC=ja_JP.EUC-JP
LC_TIME=ja_JP.EUC-JP
LC_COLLATE=ja_JP.EUC-JP
LC_MONETARY=ja_JP.EUC-JP
LC_MESSAGES=ja_JP.EUC-JP
LC_PAPER=ja_JP.EUC-JP
LC_NAME=ja_JP.EUC-JP
LC_ADDRESS=ja_JP.EUC-JP
LC_TELEPHONE=ja_JP.EUC-JP
LC_MEASUREMENT=ja_JP.EUC-JP
LC_IDENTIFICATION=ja_JP.EUC-JP
LC_ALL=


Is this an expected behaviour in Debian Etch?

Regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-14 Thread green
  It may be not, indeed.
  Please see below for a reference:
  
  http://www.h7.dion.ne.jp/~greens/debian/img_0750.jpg
 
 A terminal (and this is true for any terminal emulator software) *must*
 be configured to use the same encoding as the locale which is used by
 programs launched inside the said terminal. Otherwise you will
 experience the described behavior.

I am afraid you are misunderstanding the problem that I reported.

Even though the gnome-terminal here is configured with ja_JP.UTF-8,
the terminal fails to encode Japanese characters correctly.

For example, when I tried to launche a gnome-terminal with the
ja_JP.EUC-JP locale during ja_JP.UTF-8 of GNOME session,
I experience a normal behavior: no mis-encodings.

Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-14 Thread Tatsuya Kinoshita
On February 14, 2007 at 6:38PM +0900,
green (at r8.dion.ne.jp) wrote:

   http://www.h7.dion.ne.jp/~greens/debian/img_0750.jpg
 
  A terminal (and this is true for any terminal emulator software) *must*
  be configured to use the same encoding as the locale which is used by
  programs launched inside the said terminal. Otherwise you will
  experience the described behavior.

 I am afraid you are misunderstanding the problem that I reported.

 Even though the gnome-terminal here is configured with ja_JP.UTF-8,
 the terminal fails to encode Japanese characters correctly.

green, could you please type `su' and then `locale'?  I guess that
your gnome-terminal is invoked as ja_JP.UTF-8, but your su
environment is under ja_JP.eucJP, so the problem occurs.

On my environment, gnome-terminal with ja_JP.UTF-8 works nicely
(except CJK half/full width problem, see Bug#395133).

--
Tatsuya Kinoshita


pgpRiIwdnEek5.pgp
Description: PGP signature


Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-14 Thread Tatsuya Kinoshita
On February 14, 2007 at 11:37PM +0900,
tats (at debian.org) wrote:

 On February 14, 2007 at 6:38PM +0900,
 green (at r8.dion.ne.jp) wrote:

http://www.h7.dion.ne.jp/~greens/debian/img_0750.jpg
  
   A terminal (and this is true for any terminal emulator software) *must*
   be configured to use the same encoding as the locale which is used by
   programs launched inside the said terminal. Otherwise you will
   experience the described behavior.
 
  I am afraid you are misunderstanding the problem that I reported.
 
  Even though the gnome-terminal here is configured with ja_JP.UTF-8,
  the terminal fails to encode Japanese characters correctly.

 green, could you please type `su' and then `locale'?  I guess that
 your gnome-terminal is invoked as ja_JP.UTF-8, but your su
 environment is under ja_JP.eucJP, so the problem occurs.

Also, the environment variable OUTPUT_CHARSET or so shuld be
checked.  Please check your configuration files /root/.??*,
~/.??*, etc.

--
Tatsuya Kinoshita


pgpSFFQ20dEBG.pgp
Description: PGP signature


Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-13 Thread Josselin Mouette
Le lundi 12 février 2007 à 19:31 +0900, green a écrit :
 Package: gnome-terminal
 Version: 2.14.2-1
 Severity: normal
 
 gnome-terminal can not show only Japanese characters
 correctly in ja_JP.UTF-8 mode as follows:
 
 debian:/home/foo# apt-get upgrade
 �ѥå��ꥹ�Ȥ��ɤ߹Ǥ��ޤ�... ��λ%
 ��¸�ط��ĥ꡼�Ƥ��ޤ�... ��λ
 ���åץ��졼��: 0 �ġ幥ȡ���: 0 �ġ�: 0 �ġ���α: 0 �ġ�
 
 So I had to do this with LANG=C option.
 
 debian:/home/foo# LANG=C apt-get upgrade
 Reading package lists... Done
 Building dependency tree... Done
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
 But it quite ok in ja_JP.EUC-JP.

This is most likely because the terminal itself was launched with the
ja_JP.EUC-JP locale, and therefore believes what is displayed in the
terminal is in this encoding. Thus, this behaviour is expected.

Cheers,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-13 Thread green
On Tue, 13 Feb 2007 14:58:31 +0100
Josselin Mouette [EMAIL PROTECTED] wrote:
 This is most likely because the terminal itself was launched with the
 ja_JP.EUC-JP locale, and therefore believes what is displayed in the
 terminal is in this encoding. Thus, this behaviour is expected.

It may be not, indeed.
Please see below for a reference:

http://www.h7.dion.ne.jp/~greens/debian/img_0750.jpg

Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-13 Thread Josselin Mouette
Le mercredi 14 février 2007 à 07:53 +0900, green a écrit :
 On Tue, 13 Feb 2007 14:58:31 +0100
 Josselin Mouette [EMAIL PROTECTED] wrote:
  This is most likely because the terminal itself was launched with the
  ja_JP.EUC-JP locale, and therefore believes what is displayed in the
  terminal is in this encoding. Thus, this behaviour is expected.
 
 It may be not, indeed.
 Please see below for a reference:
 
 http://www.h7.dion.ne.jp/~greens/debian/img_0750.jpg

A terminal (and this is true for any terminal emulator software) *must*
be configured to use the same encoding as the locale which is used by
programs launched inside the said terminal. Otherwise you will
experience the described behavior.

Cheers,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#410648: gnome-terminal is NOT usable in ja_JP.UTF-8

2007-02-12 Thread green
Package: gnome-terminal
Version: 2.14.2-1
Severity: normal

gnome-terminal can not show only Japanese characters
correctly in ja_JP.UTF-8 mode as follows:

debian:/home/foo# apt-get upgrade
�ѥå��ꥹ�Ȥ��ɤ߹Ǥ��ޤ�... ��λ%
��¸�ط��ĥ꡼�Ƥ��ޤ�... ��λ
���åץ��졼��: 0 �ġ幥ȡ���: 0 �ġ�: 0 �ġ���α: 0 �ġ�

So I had to do this with LANG=C option.

debian:/home/foo# LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But it quite ok in ja_JP.EUC-JP.

-- System Information:
Debian Release: testing (etch)
  APT prefers testing
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686

Best regards.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]