Re: locales and coding systems

2004-01-05 Thread Leandro Guimarães Faria Corsetti Dutra
On Sun, 4 Jan 2004 07:41:36 -0500 (EST), "Haines Brown" <[EMAIL PROTECTED]> said: > In my problematic file, the extended characters appear as > octals. Initially I tried to so a search/replace to convert the octals > into proper characters, but emacs would not accept the octals as a > search term.

Re: locales and coding systems

2004-01-04 Thread Antonio Rodriguez
> Just a little context here. I'm running emacs 21.2.1. C-h C tells me > my current default coding system is utf-8; my language environment is > en_US.UTF-8. I can insert here in this message or into a blank file an > extended character, such as c-cedilla: ç. > In my problematic file, the extended

Re: locales and coding systems

2004-01-04 Thread Haines Brown
> Em Sáb, 2004-01-03 às 23:22, Haines Brown escreveu: > > I > > do have a few files that emacs has trouble with, probably 16-bit, but > > they are exceptional, and I know how to handle utf-16 in emacs and > > convert those files to useful form. I've just not had the time to play > > with the one d

Re: locales and coding systems

2004-01-04 Thread Leandro Guimarães Faria Corsetti Dutra
Em SÃÂb, 2004-01-03 Ãs 23:22, Haines Brown escreveu: > I > do have a few files that emacs has trouble with, probably 16-bit, but > they are exceptional, and I know how to handle utf-16 in emacs and > convert those files to useful form. I've just not had the time to play > with the one difficult fil

Re: locales and coding systems

2004-01-03 Thread Haines Brown
> On Sat, 13 Dec 2003 05:25:47 -0500, Haines Brown wrote: > > > Do you happen to know which of these variable names is likely to be the > > one used by emacs? At this point, I may need to approach the problem from > > the emacs side, but my sense is that the problem is not there. > > It's b

Re: locales and coding systems

2004-01-03 Thread Leandro Guimarães Faria Corsetti Dutra
On Sat, 13 Dec 2003 05:25:47 -0500, Haines Brown wrote: > Do you happen to know which of these variable names is likely to be the > one used by emacs? At this point, I may need to approach the problem from > the emacs side, but my sense is that the problem is not there. It's been a long t

Re: locales and coding systems

2003-12-13 Thread Haines Brown
> On Mon, Dec 08, 2003 at 04:31:17PM -0500, Haines Brown wrote: > > The default coding system in emacs is determined by how I've set up > > locales in debian. I went back to my installation notes, and according > > to them, I had set the locale to utf-8. > > I don't know exactly how emacs decides

Re: locales and coding systems

2003-12-13 Thread Bijan Soleymani
On Mon, Dec 08, 2003 at 04:31:17PM -0500, Haines Brown wrote: > The default coding system in emacs is determined by how I've set up > locales in debian. I went back to my installation notes, and according > to them, I had set the locale to utf-8. I don't know exactly how emacs decides what coding

Re: locales and coding systems

2003-12-13 Thread Haines Brown
Vineet, Well perhaps some progress, perhaps not. > * Haines Brown ([EMAIL PROTECTED]) [031212 14:02]: > > Logged and back in and went to save my test file. The test > > failed. That is, I'm still being prompted for the coding system, and > > utf-16-le is offered as the default. > >=20 > > The com

Re: locales and coding systems

2003-12-12 Thread Vineet Kumar
* Haines Brown ([EMAIL PROTECTED]) [031212 14:02]: > Logged and back in and went to save my test file. The test > failed. That is, I'm still being prompted for the coding system, and > utf-16-le is offered as the default. > > The command $ locales tells me that locales is installed (status is > ii

Re: locales and coding systems

2003-12-12 Thread Haines Brown
Logged and back in and went to save my test file. The test failed. That is, I'm still being prompted for the coding system, and utf-16-le is offered as the default. The command $ locales tells me that locales is installed (status is ii). However, the $ locale command still only returns LANG=POST

Re: locales and coding systems

2003-12-12 Thread Colin Watson
On Fri, Dec 12, 2003 at 01:19:17PM -0500, Haines Brown wrote: > > > Suspecting locales needs a different version of glibc, and knowing > > > that one can install multiple versions of glibc, I try: > > > > One cannot install multiple versions of glibc, at least not using the > > Debian package man

Re: locales and coding systems

2003-12-12 Thread John Hasler
Haines Brown writes: > Aha! However, it's legit as far as linux is concerned, isn't it? I > believe I've done this before successfully. You can install multiple major versions of libc with the Debian package management system: see libc5. You should not need multiple minor versions. -- John Hasle

Re: locales and coding systems

2003-12-12 Thread Haines Brown
Colin, Thanks for the clarification of some of the jargon. I suspected I knew what the terms meant, but when confronted with a complex situation in which many terms are shakey, guessing won't do. > > Suspecting locales needs a different version of glibc, and knowing > > that one can install multi

Re: locales and coding systems

2003-12-12 Thread Colin Watson
On Tue, Dec 09, 2003 at 06:50:47AM -0500, Haines Brown wrote: > $ sudo dpkg-reconfigure locales > ... locales not fully installed > > This may explain why the return from a # locales command does not > include a character set. So it seems I must reinstall locales to > define a character set (en_US

Re: locales and coding systems

2003-12-09 Thread Haines Brown
I find that when I try to save a file in emacs that contains an accented character, I get "No default coding system to try." Apparently this is why (for some reason) it "suggests" using utf-16-le. Vineet, Your message was very helpful, for it suggests the above problem may be due to no character

Re: locales and coding systems

2003-12-08 Thread Vineet Kumar
* Haines Brown ([EMAIL PROTECTED]) [031208 13:33]: > I'm running emacs 21.2.1 on debian 3.0, and the default coding system > is utf-16. That is, when I save any file in emacs having an accented > character, it doubles in size and is a 16-bit file. I just did some experimenting; hope this helps. I

Re: locales and coding systems

2003-12-08 Thread Haines Brown
> Em Mon, 08 Dec 2003 16:31:17 -0500, Haines Brown escreveu: > > > the default coding system is utf-16. That is, when I save any file > > in emacs having an accented character, it doubles in size and is a > > 16-bit file. > > This is not the default, but Emacs' suggestion based on the buffer > co

Re: locales and coding systems

2003-12-08 Thread Leandro Guimarães Faria Corsetti Dutra
Em Mon, 08 Dec 2003 16:31:17 -0500, Haines Brown escreveu: > the default coding system is > utf-16. That is, when I save any file in emacs having an accented > character, it doubles in size and is a 16-bit file. This is not the default, but Emacs' suggestion based on the buffer contents.