* windows-1252 not displayed properly?
@ 2003-09-01 20:21 Matthias Andree
2003-09-01 20:43 ` Marcus Frings
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Matthias Andree @ 2003-09-01 20:21 UTC (permalink / raw)
This article:
Newsgroups: de.comm.software.mailserver
Message-ID: <3F534BB1.7070400@com-gate.com>
contains Windows-1252. What do I need to do to get my CVS Gnus in Emacs
21.3.1 display the \200 aka € characters properly?
TIA,
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-01 20:21 windows-1252 not displayed properly? Matthias Andree
@ 2003-09-01 20:43 ` Marcus Frings
2003-09-03 14:12 ` Matthias Andree
2003-09-02 7:08 ` Vasily Korytov
2003-09-02 7:42 ` Simon Josefsson
2 siblings, 1 reply; 10+ messages in thread
From: Marcus Frings @ 2003-09-01 20:43 UTC (permalink / raw)
* Matthias Andree <ma@dt.e-technik.uni-dortmund.de> wrote:
> This article:
> Newsgroups: de.comm.software.mailserver
> Message-ID: <3F534BB1.7070400@com-gate.com>
> contains Windows-1252. What do I need to do to get my CVS Gnus in Emacs
> 21.3.1 display the \200 aka € characters properly?
This works for me (this posting should use UTF-8 to display the
following characters properly):
,----
| ;; Repariert mit `W d' im Summary Buffer falsch deklarierte Zeichen
| ;; siehe Tabelle: <http://www.microsoft.com/globaldev/reference/sbcs/1252.htm>
| (setq gnus-article-dumbquotes-map
| '(("\200" "€")
| ("\202" "‚")
| ("\203" "ƒ")
| ("\204" "„")
| ("\205" "…")
| ("\206" "†")
| ("\207" "‡")
| ("\210" "ˆ")
| ("\211" "‰")
| ("\212" "Š")
| ("\213" "‹")
| ("\214" "Œ")
| ("\216" "Ž")
| ("\221" "‘")
| ("\222" "’")
| ("\223" "“")
| ("\224" "”")
| ("\225" "•")
| ("\226" "–")
| ("\227" "—")
| ("\230" "˜")
| ("\231" "™")
| ("\232" "š")
| ("\233" "›")
| ("\234" "œ")
| ("\236" "ž")
| ("\237" "Ÿ")))
`----
Regards,
Marcus
--
"SCHEISSE! Zwotes Schraubengeräusch in 76°. Kommt schnell näher!"
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-01 20:21 windows-1252 not displayed properly? Matthias Andree
2003-09-01 20:43 ` Marcus Frings
@ 2003-09-02 7:08 ` Vasily Korytov
2003-09-02 7:42 ` Simon Josefsson
2 siblings, 0 replies; 10+ messages in thread
From: Vasily Korytov @ 2003-09-02 7:08 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
On Mon, 01 Sep 2003 22:21:26 +0200, Matthias Andree wrote:
> This article:
>
> Newsgroups: de.comm.software.mailserver
> Message-ID: <3F534BB1.7070400@com-gate.com>
>
> contains Windows-1252. What do I need to do to get my CVS Gnus in Emacs
> 21.3.1 display the \200 aka € characters properly?
I'm not sure, if the euro sign is in cp1252, but try:
(unless (coding-system-p 'cp1252)
(codepage-setup 1252))
(unless (coding-system-p 'windows-1252)
(define-coding-system-alias 'windows-1252 'cp1252))
--
I accept RFC3156 and RFC2440-compatible encrypted mail.
PGP key fingerprint: 123A 7CCE 6E26 6233 0D87 E01A A0F8 3524 FCD8 1841
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-01 20:21 windows-1252 not displayed properly? Matthias Andree
2003-09-01 20:43 ` Marcus Frings
2003-09-02 7:08 ` Vasily Korytov
@ 2003-09-02 7:42 ` Simon Josefsson
2003-09-02 8:28 ` Jochen Küpper
2 siblings, 1 reply; 10+ messages in thread
From: Simon Josefsson @ 2003-09-02 7:42 UTC (permalink / raw)
Cc: ding
Matthias Andree <ma@dt.e-technik.uni-dortmund.de> writes:
> This article:
>
> Newsgroups: de.comm.software.mailserver
> Message-ID: <3F534BB1.7070400@com-gate.com>
>
> contains Windows-1252. What do I need to do to get my CVS Gnus in Emacs
> 21.3.1 display the \200 aka € characters properly?
Try
(codepage-setup 1252)
(define-coding-system-alias 'windows-1252 'cp1252)
or press W d (gnus-article-treat-dumbquotes)?
(Why isn't that codepage set up by default in Emacs, btw? Performance
reasons?)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-02 7:42 ` Simon Josefsson
@ 2003-09-02 8:28 ` Jochen Küpper
2003-09-02 9:34 ` Reiner Steib
0 siblings, 1 reply; 10+ messages in thread
From: Jochen Küpper @ 2003-09-02 8:28 UTC (permalink / raw)
On Tue, 02 Sep 2003 09:42:22 +0200 Simon Josefsson wrote:
Simon> (codepage-setup 1252)
Simon> (define-coding-system-alias 'windows-1252 'cp1252)
On GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit), Gnus v5.10.3 I get
the follwoing backtrace when evaluating the first command. Is this new
in 21.3 or so?
,----[*Backtrace*]
| Debugger entered--Lisp error: (error "Unsupported codepage cp1252")
| signal(error ("Unsupported codepage cp1252"))
| error("Unsupported codepage %s" "cp1252")
| cp-charset-for-codepage("cp1252")
| codepage-setup(1252)
| eval((codepage-setup 1252))
| eval-last-sexp-1(nil)
| eval-last-sexp(nil)
`----
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
Sex, drugs and rock-n-roll
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-02 8:28 ` Jochen Küpper
@ 2003-09-02 9:34 ` Reiner Steib
2003-09-02 10:32 ` Matthias Andree
0 siblings, 1 reply; 10+ messages in thread
From: Reiner Steib @ 2003-09-02 9:34 UTC (permalink / raw)
On Tue, Sep 02 2003, Jochen Küpper wrote:
> On Tue, 02 Sep 2003 09:42:22 +0200 Simon Josefsson wrote:
>
> Simon> (codepage-setup 1252)
> Simon> (define-coding-system-alias 'windows-1252 'cp1252)
>
> On GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit), Gnus v5.10.3 I get
> the follwoing backtrace when evaluating the first command. Is this new
> in 21.3 or so?
It's new in CVS HEAD of Emacs (aka Emacs 21.3.50).
There are (at least) two possibilities to get `windows-1252' in Emacs
21.1-21.3, see
<URL:http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/gnus/rs-windows-1252.el>
and the comments therein.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-02 9:34 ` Reiner Steib
@ 2003-09-02 10:32 ` Matthias Andree
2003-09-02 13:35 ` Simon Josefsson
0 siblings, 1 reply; 10+ messages in thread
From: Matthias Andree @ 2003-09-02 10:32 UTC (permalink / raw)
Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
> On Tue, Sep 02 2003, Jochen Küpper wrote:
>
>> On Tue, 02 Sep 2003 09:42:22 +0200 Simon Josefsson wrote:
>>
>> Simon> (codepage-setup 1252)
>> Simon> (define-coding-system-alias 'windows-1252 'cp1252)
>>
>> On GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit), Gnus v5.10.3 I get
>> the follwoing backtrace when evaluating the first command. Is this new
>> in 21.3 or so?
>
> It's new in CVS HEAD of Emacs (aka Emacs 21.3.50).
>
> There are (at least) two possibilities to get `windows-1252' in Emacs
> 21.1-21.3, see
> <URL:http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/gnus/rs-windows-1252.el>
> and the comments therein.
I used the first successfully. Thanks a lot!
Simon, thanks for your offered help, but it didn't work with my emacs
21.3.1 version (it doesn't know cp1252, so it chokes during init).
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-02 10:32 ` Matthias Andree
@ 2003-09-02 13:35 ` Simon Josefsson
0 siblings, 0 replies; 10+ messages in thread
From: Simon Josefsson @ 2003-09-02 13:35 UTC (permalink / raw)
Cc: ding
Matthias Andree <ma@dt.e-technik.uni-dortmund.de> writes:
> Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
>
>> On Tue, Sep 02 2003, Jochen Küpper wrote:
>>
>>> On Tue, 02 Sep 2003 09:42:22 +0200 Simon Josefsson wrote:
>>>
>>> Simon> (codepage-setup 1252)
>>> Simon> (define-coding-system-alias 'windows-1252 'cp1252)
>>>
>>> On GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit), Gnus v5.10.3 I get
>>> the follwoing backtrace when evaluating the first command. Is this new
>>> in 21.3 or so?
>>
>> It's new in CVS HEAD of Emacs (aka Emacs 21.3.50).
>>
>> There are (at least) two possibilities to get `windows-1252' in Emacs
>> 21.1-21.3, see
>> <URL:http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/gnus/rs-windows-1252.el>
>> and the comments therein.
>
> I used the first successfully. Thanks a lot!
>
> Simon, thanks for your offered help, but it didn't work with my emacs
> 21.3.1 version (it doesn't know cp1252, so it chokes during init).
Sorry, I haven't used 21.3 for a while, so I forgot it didn't support
cp1252.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-01 20:43 ` Marcus Frings
@ 2003-09-03 14:12 ` Matthias Andree
2003-09-04 9:15 ` Marcus Frings
0 siblings, 1 reply; 10+ messages in thread
From: Matthias Andree @ 2003-09-03 14:12 UTC (permalink / raw)
Marcus Frings <iam-est-hora-surgere@despammed.com> writes:
>> contains Windows-1252. What do I need to do to get my CVS Gnus in Emacs
>> 21.3.1 display the \200 aka € characters properly?
>
> This works for me (this posting should use UTF-8 to display the
> following characters properly):
This isn't a "dumb quote" as the character set is declared properly as
"Windows-1252", there's nothing that needs "fixing" (or amendment)
except either of Gnus or Emacs to display proper standards-conformant
articles, so Reiner's code path of adding Windows-1252 is the right way
to go. I am under the impression that "dumb quotes" are when someone
sends Windows-1252, declaring iso-8859-1.
Thank you anyways.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: windows-1252 not displayed properly?
2003-09-03 14:12 ` Matthias Andree
@ 2003-09-04 9:15 ` Marcus Frings
0 siblings, 0 replies; 10+ messages in thread
From: Marcus Frings @ 2003-09-04 9:15 UTC (permalink / raw)
* Matthias Andree <ma@dt.e-technik.uni-dortmund.de> wrote:
> This isn't a "dumb quote" as the character set is declared properly as
> "Windows-1252", there's nothing that needs "fixing" (or amendment)
> except either of Gnus or Emacs to display proper standards-conformant
> articles, so Reiner's code path of adding Windows-1252 is the right way
> to go. I am under the impression that "dumb quotes" are when someone
> sends Windows-1252, declaring iso-8859-1.
Yes, of course you are right. Sorry for my misunderstanding.
Regards,
Marcus
--
"Do we take prisoners?" - "No. Kill all they send... And they will stop coming!"
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-09-04 9:15 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-01 20:21 windows-1252 not displayed properly? Matthias Andree
2003-09-01 20:43 ` Marcus Frings
2003-09-03 14:12 ` Matthias Andree
2003-09-04 9:15 ` Marcus Frings
2003-09-02 7:08 ` Vasily Korytov
2003-09-02 7:42 ` Simon Josefsson
2003-09-02 8:28 ` Jochen Küpper
2003-09-02 9:34 ` Reiner Steib
2003-09-02 10:32 ` Matthias Andree
2003-09-02 13:35 ` Simon Josefsson
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 NNTP newsgroup(s).