Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Vincent Lefevre
On Sat, Nov 02, 2002 at 11:50:07 -0500, Alan Shutko wrote: > C-x C-m f, or check the Recognize Coding node of the Emacs manual. OK, thanks to all of you. I've updated my .emacs to be able to easily switch between latin-1 and utf-8. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web:

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Tatsuya Kinoshita
On November 3, 2002 at 2:29AM +0900, Tatsuya Kinoshita <[EMAIL PROTECTED]> wrote: > For more information, see the Emacs manual. (`C-x info RET d m > Emacs RET s coding RET SPC SPC SPC ...) `M-x info RET ...'. -- Tatsuya Kinoshita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Tatsuya Kinoshita
On November 2, 2002 at 5:43PM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > On Sat, Nov 02, 2002 at 11:30:16 -0500, Alan Shutko wrote: > > You can/must set the input and output independantly. C-x C-m k for the > > input, C-x C-m t for the output. (Or their equivalents in your > > .emacs.)

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Alan Shutko
Vincent Lefevre <[EMAIL PROTECTED]> writes: > Currently emacs generates files encoded in ISO-8859-1. What should > I do if I want files encoded in UTF-8? C-x C-m f, or check the Recognize Coding node of the Emacs manual. -- Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors! -- To UNS

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Vincent Lefevre
On Sat, Nov 02, 2002 at 11:30:16 -0500, Alan Shutko wrote: > You can/must set the input and output independantly. C-x C-m k for the > input, C-x C-m t for the output. (Or their equivalents in your > .emacs.) OK, thanks. This now works. Currently emacs generates files encoded in ISO-8859-1. What

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Alan Shutko
Vincent Lefevre <[EMAIL PROTECTED]> writes: > The problem is that the output (currently ISO-8859-1) doesn't match > the input (currently UTF-8). How can I fix that? You can/must set the input and output independantly. C-x C-m k for the input, C-x C-m t for the output. (Or their equivalents in y

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Vincent Lefevre
On Sat, Nov 02, 2002 at 11:11:25 -0500, Alan Shutko wrote: > terminal-coding-system is only output. You want to use > set-keyboard-coding-system. The problem is that the output (currently ISO-8859-1) doesn't match the input (currently UTF-8). How can I fix that? -- Vincent Lefèvre <[EMAIL PROT

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Vincent Lefevre
On Sun, Nov 03, 2002 at 00:23:48 +0900, Tatsuya Kinoshita wrote: > I guessed that you are using (set-terminal-coding-system 'utf-8) > on the ISO-8859-1 termianl. You should set > terminal-coding-system appropriately. No, I have no problem on a ISO-8859-1 terminal, only on a UTF-8 terminal: in uxt

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Alan Shutko
Vincent Lefevre <[EMAIL PROTECTED]> writes: > But even when the terminal coding system is correctly set, Emacs > still uses the ISO-8859-1 encoding for a UTF-8 input, e.g. I get > é instead of é. Emacs should either convert the UTF-8 sequence > to ISO-8859-1 or set the encoding of the file to UTF

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Vincent Lefevre
On Sun, Nov 03, 2002 at 00:54:05 +0900, Tatsuya Kinoshita wrote: > On November 2, 2002 at 2:01PM +0100, > Vincent Lefevre <[EMAIL PROTECTED]> wrote: > > > But even when the terminal coding system is correctly set, Emacs > > still uses the ISO-8859-1 encoding for a UTF-8 input, e.g. I get > > é in

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Tatsuya Kinoshita
On November 2, 2002 at 2:01PM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > But even when the terminal coding system is correctly set, Emacs > still uses the ISO-8859-1 encoding for a UTF-8 input, e.g. I get > é instead of é. What is `a UTF-8 input'? In Emacs on the ISO-8859-1/UTF-8 termi

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Tatsuya Kinoshita
On November 2, 2002 at 2:01PM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > > (set-terminal-coding-system 'utf-8 > But even when the terminal coding system is correctly set, Emacs > still uses the ISO-8859-1 encoding for a UTF-8 input, e.g. I get > é instead of é. Emacs should eith

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-02 Thread Vincent Lefevre
On Sat, Nov 02, 2002 at 14:39:48 +0900, Tatsuya Kinoshita wrote: > If the LANG environment variable is `en_US', Emacs uses > iso-latin-1 for (terminal-coding-system) by default. For UTF-8 > locales, see below. > > -- ~/.emacs -- > ;;(set-language-environment "Latin-1") > ;;(setq default-input-me

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-01 Thread Tatsuya Kinoshita
On November 1, 2002 at 6:12PM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > On Sat, Nov 02, 2002 at 01:36:50 +0900, Tatsuya Kinoshita wrote: > > Unfortunately, (terminal-coding-system) is nil in Emacs even if > > the LANG envionment variable is set to `en_US.UTF-8'. So, the > > above config

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-01 Thread Tatsuya Kinoshita
On November 1, 2002 at 6:12PM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > On Sat, Nov 02, 2002 at 01:36:50 +0900, Tatsuya Kinoshita wrote: > > Unfortunately, (terminal-coding-system) is nil in Emacs even if > > the LANG envionment variable is set to `en_US.UTF-8'. So, the > > above config

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-01 Thread Vincent Lefevre
On Sat, Nov 02, 2002 at 01:36:50 +0900, Tatsuya Kinoshita wrote: > Unfortunately, (terminal-coding-system) is nil in Emacs even if > the LANG envionment variable is set to `en_US.UTF-8'. So, the > above configuration is required on the UTF-8 terminal. But what if one uses sometimes ISO-8859-1 and

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-01 Thread Tatsuya Kinoshita
On November 1, 2002 at 2:04PM +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > > If you want to use emacs on the UTF-8 terminal, put > > (set-terminal-coding-system 'utf-8) in your `~/.emacs'. > > This is really stupid. Could emacs be fixed to use the locales > instead? Unfortunately, (termin

Re: Locales, Mutt, OpenOffice, Emacs

2002-11-01 Thread Vincent Lefevre
On Thu, Oct 31, 2002 at 21:31:09 +0900, Tatsuya Kinoshita wrote: > If you want to use emacs on the UTF-8 terminal, put > (set-terminal-coding-system 'utf-8) in your `~/.emacs'. This is really stupid. Could emacs be fixed to use the locales instead? -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <

Re: Locales, Mutt, OpenOffice, Emacs

2002-10-31 Thread Tatsuya Kinoshita
On October 31, 2002 at 9:31PM +0900, Tatsuya Kinoshita <[EMAIL PROTECTED]> wrote: > kterm doesn't support UTF-8. However, Emacs and kterm support ISO-2022 encoding. If you want to use Emacs on kterm, put (set-terminal-coding-system 'iso-2022-7bit) in your `~/.emacs'. This issue is independent

Re: Locales, Mutt, OpenOffice, Emacs

2002-10-31 Thread Tatsuya Kinoshita
On October 30, 2002 at 11:47AM -0500, Matt Price <[EMAIL PROTECTED]> wrote: > > With UTF-8 you need a multibyte aware terminal emulator. Which terminal > > emulator do you use? Try mlterm as it allows you to change the encoding > > at run time (Ctrl-button3). > > I'[ve been using kterm -- mlterm

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Henrik Enberg
Matt Price <[EMAIL PROTECTED]> writes: >> >> This is archaic. Use the below instead. >> >> (set-language-environment "Latin-1") > > thanks, I'll try it > >> >> `set-keyboard-coding-system' might be of interest too. > > ooh, sounds good -- do I put that in .emacs in the same format as > above (

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
> > This is archaic. Use the below instead. > > (set-language-environment "Latin-1") thanks, I'll try it > > `set-keyboard-coding-system' might be of interest too. ooh, sounds good -- do I put that in .emacs in the same format as above (parameter-name-here "value") ? thx, m -- To UNSUB

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Henrik Enberg
Vincent Lefevre <[EMAIL PROTECTED]> writes: > (standard-display-european 1) This is archaic. Use the below instead. (set-language-environment "Latin-1") `set-keyboard-coding-system' might be of interest too. -- Booting... /vmemacs.el -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a s

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
hi nori, been following your postings on locales; > > what's the output of `locale`? > here it is: matt@anarres:~$ locale LANG=en_US.UTF-8 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_PA

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Matt Price
thanks, but didn´t seem to help. see in line: > this variable. First, you need to upgrade. Version 1.3.28 is obsolete. > IIRC, iconv support was recently rewritten; perhaps you have the old > version in 1.3.28 (I don't remember). upgraded to 4.0.4 (testing); no difference in performance. > I

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Nori Heikkinen
on Wed, 30 Oct 2002 11:47:39AM -0500, Matt Price insinuated: > -mutt simply WON'T display accented characters properly\. > Depending on whether I set the CHARSET variable (in .muttrc) to > UTF-8 or iso-8859-1, accented characters display as ? or \xxx (a > three-digit numerical dcode). what's

Re: Locales, Mutt, OpenOffice, Emacs [was: locales and terminal]

2002-10-30 Thread Vincent Lefevre
On Wed, Oct 30, 2002 at 11:47:39 -0500, Matt Price wrote: > -mutt simply WON'T display accented characters properly\. Depending > on whether I set the CHARSET variable (in .muttrc) to UTF-8 or > iso-8859-1, accented characters display as ? or \xxx (a three-digit > numerical dcode). AFAIK, t