Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* utf8 in NoGnus
@ 2005-02-21 21:51 pachkov
  2005-02-21 22:15 ` Aidan Kehoe
  2005-02-23  6:39 ` Ivan Boldyrev
  0 siblings, 2 replies; 4+ messages in thread
From: pachkov @ 2005-02-21 21:51 UTC (permalink / raw)


Dear All,

I have got problem with showing mails sent in utf8 under gnus. Instead
of
cyrillic charactes I see empty squares. As well From headers in
windowsCP1251
are shown incorectly like
"=?windows-1251?B?y/7k7Ojr4CDBLiDP4Pjq7uLg?=". In
xemacs I have used mule-ucs for unicode support, but as I understood
emacs
supports it "natively". Under xemacs for almost the same .gnus.el
everything
is fine.

Please give me a hint!

Kind wishes,

Mikhail

PS. emacs 21.3.2, NoGnus0.3


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

* Re: utf8 in NoGnus
  2005-02-21 21:51 utf8 in NoGnus pachkov
@ 2005-02-21 22:15 ` Aidan Kehoe
  2005-02-21 23:17   ` pachkov
  2005-02-23  6:39 ` Ivan Boldyrev
  1 sibling, 1 reply; 4+ messages in thread
From: Aidan Kehoe @ 2005-02-21 22:15 UTC (permalink / raw)



 Ar an chéad lá is fiche de mí Feabhra, scríobh pachkov@gmail.com: 

 > I have got problem with showing mails sent in utf8 under gnus. Instead of
 > cyrillic charactes I see empty squares. 

Have you got any -iso8859-5 fonts available to your X server? (Are you even
on X11?)

 > As well From headers in windowsCP1251 are shown incorectly like
 > "=?windows-1251?B?y/7k7Ojr4CDBLiDP4Pjq7uLg?=". 
 
Non-CVS GNU Emacs doesn’t support that MIME character set out of the box,
from what I can see.

 > In xemacs I have used mule-ucs for unicode support, but as I understood
 > emacs supports it "natively". Under xemacs for almost the same .gnus.el
 > everything is fine.
 > 
 > Please give me a hint!

Try a CVS version of GNU Emacs--it should have better Cyrillic support, at
least for windows-1251. I don’t believe that any version of GNU Emacs will
use your Windows-1251 fonts, though my local copy of 21.3.1 does interpret
iso-8859-5 characters correctly in a Unicode context. (Whether they display
correctly is still up to the X11 server, of course.)

 > PS. emacs 21.3.2, NoGnus0.3

Off-topic, but what, specifically, convinced you to move from XEmacs?

-- 
“I, for instance, am gung-ho about open source because my family is being
held hostage in Rob Malda’s basement. But who fact-checks me, or Enderle,
when we say something in public? No-one!” -- Danny O’Brien


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

* Re: utf8 in NoGnus
  2005-02-21 22:15 ` Aidan Kehoe
@ 2005-02-21 23:17   ` pachkov
  0 siblings, 0 replies; 4+ messages in thread
From: pachkov @ 2005-02-21 23:17 UTC (permalink / raw)


>> Instead of cyrillic charactes I see empty squares
> Have you got any -iso8859-5 fonts available to your X server? (Are
>you even on X11?)

Sure. I have defined fontset as:
(cond (window-system
       (create-fontset-from-fontset-spec
        "-adobe-courier-medium-r-*-*-18-*-*-*-*-*-fontset-Mikhail,

cyrillic-iso8859-5:-adobe-courier-medium-r-*-*-18-*-*-*-*-*-iso8859-5,
;       cyrillic-iso8859-5:-*-fixed-*-*-*-*-18-*-*-*-*-*-iso8859-5,
	cyrillic-koi8-r:-adobe_koi8_1-courier-medium-r-*-*-18-*-*-*-*-*-koi8-*"
	t)

 >> As well From headers in windowsCP1251 are shown incorectly like
 >> "=?windows-1251?B?y/7k7Ojr4CDBLiDP4Pjq7uLg?=".
>Non-CVS GNU Emacs doesn't support that MIME character set out of
>the box, from what I can see.

No hope? It should be possible I guess, since it shows correctly koi8
headers coded with MIME.


>Try a CVS version of GNU Emacs--it should have better Cyrillic
support, at
>least for windows-1251. I don't believe that any version of GNU
Emacs will
>use your Windows-1251 fonts, though my local copy of 21.3.1 does
interpret
>iso-8859-5 characters correctly in a Unicode context. (Whether they
display
>correctly is still up to the X11 server, of course.)

I have feeling that there is just a few variables to set and than
everything is fine.

> Off-topic, but what, specifically, convinced you to move from XEmacs?

Curiosity and some annoying things with new installation of Xemacs.
 Probably it would be easier to resolve them than fight with
customization of emacs.

Kind wishes,

Mikhail


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

* Re: utf8 in NoGnus
  2005-02-21 21:51 utf8 in NoGnus pachkov
  2005-02-21 22:15 ` Aidan Kehoe
@ 2005-02-23  6:39 ` Ivan Boldyrev
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan Boldyrev @ 2005-02-23  6:39 UTC (permalink / raw)


On 9028 day of my life pachkov@gmail.com wrote:
> Dear All,
>
> I have got problem with showing mails sent in utf8 under
> gnus. Instead of cyrillic charactes I see empty squares.

Do you have font like
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1?  My Emacs
uses it for Unicode messages.

Unfortunately, non-CVS Emacs cannot always convert from Unicode to
other encodings.

> As well From headers in windowsCP1251 are shown incorectly like
> "=?windows-1251?B?y/7k7Ojr4CDBLiDP4Pjq7uLg?=".

Add to your ~/.emacs:

(codepage-setup 1251)
(define-coding-system-alias 'windows-1251 'cp1251)

-- 
Ivan Boldyrev

                  Sorry my terrible English, my native language is Lisp!


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

end of thread, other threads:[~2005-02-23  6:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-21 21:51 utf8 in NoGnus pachkov
2005-02-21 22:15 ` Aidan Kehoe
2005-02-21 23:17   ` pachkov
2005-02-23  6:39 ` Ivan Boldyrev

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).