* utf-8-dos files on Linux
@ 2009-06-06 6:44 Bostjan Vilfan
0 siblings, 0 replies; 4+ messages in thread
From: Bostjan Vilfan @ 2009-06-06 6:44 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
Hello,
I am using Emacs 22.3.1 on a SUSE Linux 11.0 system, and I am encountering the following problem: I would like to edit a file encoded with utf-8-dos; however, I can't get rid of the <inverted_v>M characters at the end of lines in the display. I placed
-*- coding: utf-8-dos-*-
in the first line; but it didn't help. Is there any way to get rid of the offending characters?
Regards,
bostjanv
[-- Attachment #2: Type: text/html, Size: 614 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.107.1244295014.2239.help-gnu-emacs@gnu.org>]
* Re: utf-8-dos files on Linux
[not found] <mailman.107.1244295014.2239.help-gnu-emacs@gnu.org>
@ 2009-06-07 11:17 ` Christian Herenz
2009-06-07 13:12 ` Peter Dyballa
[not found] ` <mailman.149.1244380382.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Christian Herenz @ 2009-06-07 11:17 UTC (permalink / raw)
To: help-gnu-emacs
Bostjan Vilfan schrieb:
> Hello,
> I am using Emacs 22.3.1 on a SUSE Linux 11.0 system, and I am
> encountering the following problem: I would like to edit a file encoded
> with utf-8-dos; however, I can't get rid of the <inverted_v>M characters
> at the end of lines in the display. I placed
> -*- coding: utf-8-dos-*-
> in the first line; but it didn't help. Is there any way to get rid of
> the offending characters?
> Regards,
> bostjanv
>
From the Emacs Manual:
`C-x <RET> r CODING <RET>'
Revisit the current file using the coding system CODING.
Chapter 27 "International Character Support" has an extensive, well written
section on encodings.
Greetings,
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: utf-8-dos files on Linux
2009-06-07 11:17 ` Christian Herenz
@ 2009-06-07 13:12 ` Peter Dyballa
[not found] ` <mailman.149.1244380382.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2009-06-07 13:12 UTC (permalink / raw)
To: help-gnu-emacs mailing list
Am 07.06.2009 um 13:17 schrieb Bostjan Vilfan:
>> I can't get rid of the <inverted_v>M characters at the end of
>> lines in the display. I placed
>> -*- coding: utf-8-dos-*-
This inverted v is the CARET character ^ or CIRCUMFLEX ACCENT at U
+005E, which, in combination with other characters, stands in a GNU
Emacs buffer for display (presentation) of Control-<something>.
The correct syntax would be:
-*- coding: utf-8-dos; -*-
Notice the final ``;´´ which actually ends the assignment.
--
Greetings
Pete
Almost anything is easier to get into than out of.
– Allen's Law
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.149.1244380382.2239.help-gnu-emacs@gnu.org>]
* Re: utf-8-dos files on Linux
[not found] ` <mailman.149.1244380382.2239.help-gnu-emacs@gnu.org>
@ 2009-06-08 10:14 ` bostjanv
0 siblings, 0 replies; 4+ messages in thread
From: bostjanv @ 2009-06-08 10:14 UTC (permalink / raw)
To: help-gnu-emacs
On Jun 7, 3:12 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 07.06.2009 um 13:17 schrieb Bostjan Vilfan:
>
> >> I can't get rid of the <inverted_v>M characters at the end of
> >> lines in the display. I placed
> >> -*- coding: utf-8-dos-*-
>
> This inverted v is the CARET character ^ or CIRCUMFLEX ACCENT at U
> +005E, which, in combination with other characters, stands in a GNU
> Emacs buffer for display (presentation) of Control-<something>.
>
> The correct syntax would be:
>
> -*- coding: utf-8-dos; -*-
>
> Notice the final ``;´´ which actually ends the assignment.
>
> --
> Greetings
>
> Pete
>
> Almost anything is easier to get into than out of.
> – Allen's Law
Thanks for your help with my Emacs problem. To repeat: The problem was
that it seemed that the "-*- coding: utf-8-dos; -*-" specification in
the first line of a file had no effect. After receiving your posts I
went back to the manual, and it turned out that the Emacs variable
inhibit-eol-conversion was set to a non nil value on my system. After
setting it to the value nil in my .gnu-emacs-custom file, the editing
of dos text files was possible.
Regards,
bostjanv
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-08 10:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 6:44 utf-8-dos files on Linux Bostjan Vilfan
[not found] <mailman.107.1244295014.2239.help-gnu-emacs@gnu.org>
2009-06-07 11:17 ` Christian Herenz
2009-06-07 13:12 ` Peter Dyballa
[not found] ` <mailman.149.1244380382.2239.help-gnu-emacs@gnu.org>
2009-06-08 10:14 ` bostjanv
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).