[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where can i report this bug?



On Sun, Mar 26, 2006 at 07:18:48PM -0500, Hugo Jackson wrote:
> Hi Kevin,
> Thanks for the help.

Hi Hugo,
first, list ettique is to always keep your post on list so that everyone
can see the info and potentially help. Unless its something
personal/off-topic.

>  As I think I can see from the output of the 
> commands you suggested
> (provided below) , there seems to me potential conflict.

ok.

> This leads 
> me to two questions.
> 
> 1) I'd like to set up all the boxes so they play well together, but 
> which is the way to go? If etch-testing
> has gone to a default setting of en_US.UTF-8 purposefully, then I 
> guess I should set up the other boxes to
> agree with that setting.

Most Un*x are moving to unicode and utf-8. Unicode is to allow you
easily display all languages as opposed to just Latin-1 (regular ascii).
So set everything to UTF-8.

> If however etch-testing and eventually etch 
> will return to en_US then I presume
> I should probably set etch-testing to the sarge-testing settings.

See above. en_US is en_US.iso88591 IIRC which is Latin-1.

> 
> 2) HOW do i set/reset the locale settings on the boxes? Is it a file 
> that needs to be edited or a command
> that needs to be run? I looked at the man page for setlocale() but 
> that appears to be a c function call
> rather than a command line instruction.

On debian, you use 'dpkg-reconfigure locales'. On other systems, you can
set the locale in .bashrc like 'export LANG=en_US.utf8'.

<snip> 
> This is the output on the debian etch testing machine....
> 
>      ivor:~# cat /etc/apt/sources.list
>      #
>      # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot 
> i386 Binary-1 (20060314)]/ etch main
> 
> 
>      deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot 
> i386 Binary-1 (20060314)]/ etch main
>      deb http://ftp.debian.org/debian/ etch main
>      deb-src http://ftp.debian.org/debian/ etch main
> 
>      deb http://security.debian.org/ etch/updates main
>      deb-src http://security.debian.org/ etch/updates main
> 

This is 'etch' which is testing now and will become stable later.

> 
> This the output on a 2nd debian machine I have...
> 
>      ns1:~# cat /etc/apt/sources.list
>      #deb file:///cdrom/ sarge main
> 
>      deb ftp://mirrors.kernel.org/debian/ testing main
>      deb-src ftp://mirrors.kernel.org/debian/ testing main
> 
>      deb http://security.debian.org/ testing/updates main
> 
> Would I call this machine sarge-testing?

This is 'testing' which is now the same as 'etch' but will always be
'testing'. If you want to have this machine match the other, use the
same /etc/apt/sources.list as the 'etch' one.
> 
> >I'd say compare the output of 'locale' settings on both machines:
> >locale    #show current locale
> >locale -a #show available locale
> >cheers,
> >Kev
> 
> This is the output on the debian etch testing machine...
> 
>      ivor:~# locale #show current locale
>      LANG=en_US.UTF-8
>      LANGUAGE=en_US:en_GB:en
>      LC_CTYPE="en_US.UTF-8"
>      LC_NUMERIC="en_US.UTF-8"
>      LC_TIME="en_US.UTF-8"
>      LC_COLLATE="en_US.UTF-8"
>      LC_MONETARY="en_US.UTF-8"
>      LC_MESSAGES="en_US.UTF-8"
>      LC_PAPER="en_US.UTF-8"
>      LC_NAME="en_US.UTF-8"
>      LC_ADDRESS="en_US.UTF-8"
>      LC_TELEPHONE="en_US.UTF-8"
>      LC_MEASUREMENT="en_US.UTF-8"
>      LC_IDENTIFICATION="en_US.UTF-8"
>      LC_ALL=

So, this has english utf8. ok.

> 
>      ivor:~# locale -a #show available locale
>      C
>      en_US.utf8
>      POSIX
> 
> 
> This is the output on the "sarge-testing" box I have.  (that doesn't 
> cause the mac X11 program
> any trouble):
> 
>      ns1:~# locale #show current locale
>      LANG=en_US
>      LC_CTYPE="en_US"
>      LC_NUMERIC="en_US"
>      LC_TIME="en_US"
>      LC_COLLATE="en_US"
>      LC_MONETARY="en_US"
>      LC_MESSAGES="en_US"
>      LC_PAPER="en_US"
>      LC_NAME="en_US"
>      LC_ADDRESS="en_US"
>      LC_TELEPHONE="en_US"
>      LC_MEASUREMENT="en_US"
>      LC_IDENTIFICATION="en_US"
>      LC_ALL=
> 
This one is NOT utf8 but regular Latin-1. 
ok. so run 'dpkg-reconfigure locales' add the en_US.utf8 locale and make
it the default. then logout and login to make it work.

>      ns1:~# locale -a #show available locale
>      C
>      en_US
>      en_US.iso88591
>      POSIX
> 
> This is the output on the macintosh
> 
> 66-23-219-140:~ hugojackson$ locale #show current locale
>      LANG=
>      LC_COLLATE="C"
>      LC_CTYPE="C"
>      LC_MESSAGES="C"
>      LC_MONETARY="C"
>      LC_NUMERIC="C"
>      LC_TIME="C"
>      LC_ALL="C"
so, C locale, not UTF8. the way I know is to set 'export
LC_ALL=en_US.UTF8' in .bashrc then logout and login. I'd be curious if
there is a mac way to do this.
> 
>      66-23-219-140:~ hugojackson$ locale -a #show available locale
>      // lots of languages omitted for clarity
>      en_AU
>      en_AU.ISO8859-1
>      en_AU.ISO8859-15
>      en_AU.US-ASCII
>      en_AU.UTF-8
>      en_CA
>      en_CA.ISO8859-1
>      en_CA.ISO8859-15
>      en_CA.US-ASCII
>      en_CA.UTF-8
>      en_GB
>      en_GB.ISO8859-1
>      en_GB.ISO8859-15
>      en_GB.US-ASCII
>      en_GB.UTF-8
>      en_IE
>      en_IE.UTF-8
>      en_NZ
>      en_NZ.ISO8859-1
>      en_NZ.ISO8859-15
>      en_NZ.US-ASCII
>      en_NZ.UTF-8
>      en_US
>      en_US.ISO8859-1
>      en_US.ISO8859-15
>      en_US.US-ASCII
>      en_US.UTF-8
>      es_ES
>      es_ES.ISO8859-1
>      es_ES.ISO8859-15
>      es_ES.UTF-8
>      // lots of languages omitted for clarity
>      C
>      POSIX
> 
> This is the output on a 2nd linux box
Hope that fixes it.
Cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: