Re: how to change file coding system

2005-09-08 Thread Martin Monsorno
Reiner Steib <[EMAIL PROTECTED]> writes: > Please report the problem (with more details) to [EMAIL PROTECTED] Done. Hope it helps. Thank you. -- Martin ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help

Re: how to change file coding system

2005-08-31 Thread Reiner Steib
On Wed, Aug 31 2005, Martin Monsorno wrote: > Damn! Deactivating standard-display-european fixes the display of > files with a correctly recognized encoding. /But/ what is broken now > is the display of Gnus imap folders with umlauts in their names. (I > suppose this was the reason for activati

Re: how to change file coding system

2005-08-31 Thread Reiner Steib
On Wed, Aug 31 2005, Martin Monsorno wrote: > Well, I didn't find anything that seems to be directly involved with > this unibyte mode stuff, /but/ while searching around I found the > rather harmless sounding function "standard-display-european", that I > inserted im my .emacs some time ago (must

Re: how to change file coding system

2005-08-31 Thread Martin Monsorno
Damn! Deactivating standard-display-european fixes the display of files with a correctly recognized encoding. /But/ what is broken now is the display of Gnus imap folders with umlauts in their names. (I suppose this was the reason for activating this in my .emacs) Any ideas? Is this a Gnus iss

Re: how to change file coding system

2005-08-31 Thread Martin Monsorno
jasonr (Jason Rumney) @ f2s.com writes: > Martin Monsorno <[EMAIL PROTECTED]> writes: > >> it says: >> >> , >> | Multibyte characters awareness: >> | default: nil >> | current-buffer: nil > > There's your problem. Check your environment for a variable > EMACS_UNIBYTE. > Check the way you

Re: how to change file coding system

2005-08-28 Thread Jason Rumney
Martin Monsorno <[EMAIL PROTECTED]> writes: > it says: > > , > | Multibyte characters awareness: > | default: nil > | current-buffer: nil There's your problem. Check your environment for a variable EMACS_UNIBYTE. Check the way you are starting Emacs, do you have a script or alias that is

Re: how to change file coding system

2005-08-26 Thread Peter Dyballa
Am 26.08.2005 um 20:12 schrieb Kevin Rodgers: > and in csh alikes (csh, tcsh, zsh) ? la: > > set LANG=de_DE.UTF-8 I think you mean: setenv LANG de_DE.UTF-8 Oh yes! You're right -- setenv is the correct syntax. I think I need some holidays ... -- Greetings ~ O Pete

Re: how to change file coding system

2005-08-26 Thread Kevin Rodgers
Peter Dyballa wrote: > and in csh alikes (csh, tcsh, zsh) ? la: > > set LANG=de_DE.UTF-8 I think you mean: setenv LANG de_DE.UTF-8 -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/hel

Re: how to change file coding system

2005-08-26 Thread Peter Dyballa
Am 26.08.2005 um 11:52 schrieb Martin Monsorno: locale says: I don't know what this command ``locale´´ is doing, what I recommend and what is documented in GNU Emacs is the use of environment variables. Those are set in Bourne Shell alikes (sh, bash, ksh, zsh) à la: LANG=de_DE.UT

Re: how to change file coding system

2005-08-26 Thread Reiner Steib
On Fri, Aug 26 2005, Peter Dyballa wrote: > Am 25.08.2005 um 09:52 schrieb Martin Monsorno: > >> | Current language environment: UTF-8 >> > > There is nowhere in this world a language ``UTF-8´´, even Esperanto is > ``Esperanto´´. But it's a valid language environment in Emacs. > Try it again w

Re: how to change file coding system

2005-08-26 Thread Martin Monsorno
Peter Dyballa <[EMAIL PROTECTED]> writes: > Am 25.08.2005 um 09:52 schrieb Martin Monsorno: > >> | Current language environment: UTF-8 >> > > There is nowhere in this world a language ``UTF-8´´, even Esperanto is > ``Esperanto´´. Try it again with German and do yourself a favour and > set LC_ALL

Re: how to change file coding system

2005-08-26 Thread Peter Dyballa
Am 25.08.2005 um 09:52 schrieb Martin Monsorno: | Current language environment: UTF-8 There is nowhere in this world a language ``UTF-8´´, even Esperanto is ``Esperanto´´. Try it again with German and do yourself a favour and set LC_ALL to an UTF-8 value! Then check the multibyte awareness

Re: how to change file coding system

2005-08-25 Thread Martin Monsorno
jasonr (Jason Rumney) @ f2s.com writes: > Martin Monsorno <[EMAIL PROTECTED]> writes: > >> Sure! I should have said that I tried many ways /including/ the one >> suggested by you. When emacs asks me what coding system to use after >> pressing C-x c, the default it suggests (in parentheses on t

Re: how to change file coding system

2005-08-23 Thread Jason Rumney
Martin Monsorno <[EMAIL PROTECTED]> writes: > Sure! I should have said that I tried many ways /including/ the one > suggested by you. When emacs asks me what coding system to use after > pressing C-x c, the default it suggests (in parentheses on the > modeline) is "mule-utf-8". After opening i

Re: how to change file coding system

2005-08-23 Thread Martin Monsorno
Peter Dyballa <[EMAIL PROTECTED]> writes: > Am 19.08.2005 um 12:20 schrieb Martin Monsorno: > >> Peter Dyballa <[EMAIL PROTECTED]> writes: >> >>> I have GNU Emacs 21.3.50 from CVS in rare use too. >> >> You have 21.3.50 from CVS? I have a stable 21.4.1 version! But I >> tried out 22.0.50 from cv

Re: how to change file coding system

2005-08-19 Thread Peter Dyballa
Am 19.08.2005 um 12:20 schrieb Martin Monsorno: Peter Dyballa <[EMAIL PROTECTED]> writes: I have GNU Emacs 21.3.50 from CVS in rare use too. You have 21.3.50 from CVS? I have a stable 21.4.1 version! But I tried out 22.0.50 from cvs and: it NEVER does show me an 'ü'. Instead it always dis

Re: how to change file coding system

2005-08-19 Thread Martin Monsorno
Peter Dyballa <[EMAIL PROTECTED]> writes: > I have GNU Emacs 21.3.50 from CVS in rare use too. You have 21.3.50 from CVS? I have a stable 21.4.1 version! But I tried out 22.0.50 from cvs and: it NEVER does show me an 'ü'. Instead it always displays the code: \374 in the latin-1 file, and \303\2

Re: how to change file coding system

2005-08-19 Thread Eli Zaretskii
> From: Martin Monsorno <[EMAIL PROTECTED]> > Date: Thu, 18 Aug 2005 10:05:42 +0200 > > I will append the files. As I don't know how to base64-encode it > explicitly and well, I will just append also a tar file containing the > three files. Your message arrived here with no attached files. > >

Re: how to change file coding system

2005-08-18 Thread Peter Dyballa
Am 18.08.2005 um 10:40 schrieb Martin Monsorno: What remains is the problem with emacs and UTF-8 files. I have GNU Emacs 21.3.50 from CVS in rare use too. It has no problems to open an actual UTF-8 file in UTF-8 or an ISO Latin-1 file in ISO Latin-1. Although it has problems to show most o

Re: how to change file coding system

2005-08-18 Thread Martin Monsorno
Peter Dyballa <[EMAIL PROTECTED]> writes: >> I think I understood this. But this means that I can change the >> file-encoding of a file with emacs, doesn't it? > > Yes. I Usually revert buffer from file with new encoding, C-x RET r > RET and save the file in that encoding. I'd say it works > r

Re: how to change file coding system

2005-08-18 Thread Martin Monsorno
Eli Zaretskii <[EMAIL PROTECTED]> writes: >> I tried many ways of opening the file > > But none of them is what I suggested... Sure! I should have said that I tried many ways /including/ the one suggested by you. When emacs asks me what coding system to use after pressing C-x c, the default it

Re: how to change file coding system

2005-08-17 Thread Peter Dyballa
Am 17.08.2005 um 11:20 schrieb Martin Monsorno: 7) file bla* bla.changed-by-eclipse: UTF-8 Unicode text bla.created-by-eclipse: UTF-8 Unicode text bla.created-by-emacs: ISO-8859 text 8) Visiting bla.changed-by-eclipse with emacs shows "�berfall" 9) Visiting bla.chreated-by-eclipse with e

Re: how to change file coding system

2005-08-17 Thread Eli Zaretskii
> From: Martin Monsorno <[EMAIL PROTECTED]> > Date: Wed, 17 Aug 2005 11:26:13 +0200 > > > C-x RET c utf-8 RET C-x C-f bla.eclipse > > > > or did you use "C-x C-f" as usual? If the latter, I'm guessing that > > Emacs thought it was an ISO-8859 encoded file (because it cannot > > easily disti

Re: how to change file coding system

2005-08-17 Thread Martin Monsorno
Martin Monsorno <[EMAIL PROTECTED]> writes: > Emacs can only display "bla.created-by-emacs" correctly, eclipse can > only display "bla.created-by-eclipse" correctly. What hurts even more is, that vi can handle both files correctly ... :-/ -- Martin __

Re: how to change file coding system

2005-08-17 Thread Martin Monsorno
Eli Zaretskii <[EMAIL PROTECTED]> writes: > When you open bla.eclipse with Emacs, did you tell Emacs that it was a > UTF-8 encoded file? That is, did you say > > C-x RET c utf-8 RET C-x C-f bla.eclipse > > or did you use "C-x C-f" as usual? If the latter, I'm guessing that > Emacs thought

Re: how to change file coding system

2005-08-17 Thread Martin Monsorno
Peter Dyballa <[EMAIL PROTECTED]> writes: > Am 16.08.2005 um 11:22 schrieb Martin Monsorno: > >> , >> | [EMAIL PROTECTED] ~/work/workspace.c/gmx $ file bla* >> | bla.eclipse: UTF-8 Unicode text >> | bla.emacs: ISO-8859 text >> ` >> >> Opening "bla.eclipse" with emacs, shows me the string

Re: how to change file coding system

2005-08-16 Thread Eli Zaretskii
> From: Martin Monsorno <[EMAIL PROTECTED]> > Date: Tue, 16 Aug 2005 11:22:28 +0200 > > , > | [EMAIL PROTECTED] ~/work/workspace.c/gmx $ file bla* > | bla.eclipse: ISO-8859 text > | bla.emacs: ISO-8859 text > ` > > I then opened "bla.eclipse" with eclipse and saved it again, which > lea

Re: how to change file coding system

2005-08-16 Thread Peter Dyballa
Am 16.08.2005 um 11:22 schrieb Martin Monsorno: , | [EMAIL PROTECTED] ~/work/workspace.c/gmx $ file bla* | bla.eclipse: UTF-8 Unicode text | bla.emacs: ISO-8859 text ` Opening "bla.eclipse" with emacs, shows me the string "�berfall". Changing the file encoding with "C-x f iso-lat

Re: how to change file coding system

2005-08-16 Thread Martin Monsorno
Eli Zaretskii <[EMAIL PROTECTED]> writes: > Sorry, I don't understand this. Please show the details. Ok, I did the following: I created 2 identical files, containing the string "überfall": , | [EMAIL PROTECTED] ~/work/workspace.c/gmx $ file bla* | bla.eclipse: ISO-8859 text | bla.emacs: I

Re: how to change file coding system

2005-08-12 Thread Joe Corneli
What's sure, is that it's not a ü in any known encoding: Where's SETI when you need them!? ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: how to change file coding system

2005-08-12 Thread Pascal Bourguignon
Martin Monsorno <[EMAIL PROTECTED]> writes: > � > > doesn't seem like an 'ü' to me Neither to me. The three bytes I received were ef, bf and bd, displayed as: "LATIN_SMALL_LETTER_I_WITH_DIAERESIS" "INVERTED_QUESTION_MARK" "VULGAR_FRACTION_ONE_HALF" in the iso-8859-1 encoding of the mes

Re: how to change file coding system

2005-08-12 Thread Peter Dyballa
Am 12.08.2005 um 14:32 schrieb Pascal Bourguignon: PAD HOP BPH NBH IND NEL SSA ESA HTS HTJ VTS PLD PLU RI SS2 SS3 DCS PU1 PU2 STS CCH MW SPA EPA SOS SGCI SCI CSI ST OSC PM APC Pay attention: these are *not* (I repeat: *NOT*) part of Latin-1. They're only 8

Re: how to change file coding system

2005-08-12 Thread Eli Zaretskii
> From: Pascal Bourguignon <[EMAIL PROTECTED]> > Date: Fri, 12 Aug 2005 14:32:53 +0200 > > Eli Zaretskii <[EMAIL PROTECTED]> writes: > > Do you have a reason to believe `file' more than you believe Emacs? > > That is, is it possible that `file' lies? Can you find a character in > > the file after

Re: how to change file coding system

2005-08-12 Thread Eli Zaretskii
> From: Martin Monsorno <[EMAIL PROTECTED]> > Date: Fri, 12 Aug 2005 15:33:22 +0200 > > the umlauts are not de-/encoded correctly, don't know whom to blame Sorry, I don't understand this. Please show the details. ___ Help-gnu-emacs mailing list Help-

Re: how to change file coding system

2005-08-12 Thread Martin Monsorno
Eli Zaretskii <[EMAIL PROTECTED]> writes: >> From: Martin Monsorno <[EMAIL PROTECTED]> >> Date: Fri, 12 Aug 2005 10:34:31 +0200 >> >> I have a c-file which file (the command) claims to be a "UTF-8 Unicode >> C program text". Now I want to make it a 8859 file, so in the emacs >> buffer visiting i

Re: how to change file coding system

2005-08-12 Thread Pascal Bourguignon
Eli Zaretskii <[EMAIL PROTECTED]> writes: > Do you have a reason to believe `file' more than you believe Emacs? > That is, is it possible that `file' lies? Can you find a character in > the file after translation that is not Latin-1, and if you can, what > is that character? It's rather hard. I

Re: how to change file coding system

2005-08-12 Thread Eli Zaretskii
> From: Martin Monsorno <[EMAIL PROTECTED]> > Date: Fri, 12 Aug 2005 10:34:31 +0200 > > I have a c-file which file (the command) claims to be a "UTF-8 Unicode > C program text". Now I want to make it a 8859 file, so in the emacs > buffer visiting it I say: > C-x f iso-8859-1-unix > and > C-

how to change file coding system

2005-08-12 Thread Martin Monsorno
Hi, I have a c-file which file (the command) claims to be a "UTF-8 Unicode C program text". Now I want to make it a 8859 file, so in the emacs buffer visiting it I say: C-x f iso-8859-1-unix and C-x C-s Afterwards, file (the command) says the same as before. Did I miss something? -- Mar