unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Encoding - - - WHAT is going on !?!?!
@ 2004-10-18 23:49 Soren Kuula
  2004-10-19 13:09 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Soren Kuula @ 2004-10-18 23:49 UTC (permalink / raw)


Hi,

When I switch Emacs to Chinese-py input mode and write the Chinese 
charecters for "Dongfang Hong" (never mind what that is, it's Chinese 
all right)

- and specifically try to save in ISO-8859-1, by using C-enter c 
ISO-8851-1 C-f C-w dongfanghome.txt

-- then the file dumps (xxd) to:

0000000: 1b24 4136 2b37 3d3a 6c1b 2842 0a         .$A6+7=:l.(B.

-- which is ISO2022-something and not what I asked for ??

I know that what I asked for is impossible, but hey, should Emacs not 
have warned me ?

Also, can anyone tell me the difference between no-conversion and raw-text ?

Thank you

Soren

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Encoding - - - WHAT is going on !?!?!
  2004-10-18 23:49 Encoding - - - WHAT is going on !?!?! Soren Kuula
@ 2004-10-19 13:09 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-10-19 13:09 UTC (permalink / raw)


> When I switch Emacs to Chinese-py input mode and write the Chinese
> charecters for "Dongfang Hong" (never mind what that is, it's Chinese all
> right)

> - and specifically try to save in ISO-8859-1, by using C-enter c ISO-8851-1
>   C-f C-w dongfanghome.txt

> -- then the file dumps (xxd) to:

> 0000000: 1b24 4136 2b37 3d3a 6c1b 2842 0a         .$A6+7=:l.(B.

> -- which is ISO2022-something and not what I asked for ??

> I know that what I asked for is impossible, but hey, should Emacs not have
> warned me ?

Agreed.  Please report it as a bug with M-x report-emacs-bug.
The problem is probably that iso-2022-foo is one of your "default"
encodings, so if the encoding you specified doesn't work, this iso-2022-foo
is used instead silently.

> Also, can anyone tell me the difference between no-conversion and raw-text ?

raw-text does end-of-line conversion.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-19 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18 23:49 Encoding - - - WHAT is going on !?!?! Soren Kuula
2004-10-19 13:09 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).