Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: reading cyrillic with gnus
       [not found]   ` <s93adnqn1ho.fsf@cheusov.scnsoft.com>
@ 2002-08-13 17:41     ` Vasily Korytov
  2002-08-14 10:06       ` cheusov
  0 siblings, 1 reply; 4+ messages in thread
From: Vasily Korytov @ 2002-08-13 17:41 UTC (permalink / raw)


>>>>> "c" == cheusov  writes:

 >> Try tweaking gnus-group-charset-alist.

 c> It seems it doesn't work at all.

 c> With the following
 c> (put-charset-property 'cyrillic-iso8859-5 'prefered-coding-system 'utf-8)

 c> all messages sent to fido7.* news group are sent using utf-8 character
 c> set while gnus-group-charset-alist is

for _sent_ messages, use gnus-group-posting-charset-alist.

-- 
                     With respect, Vasily Korytov

PGP key fingerprint: A4FE 4665 A720 687F 4ECC 1474 7C16 C498 BAAB C999


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

* Re: reading cyrillic with gnus
  2002-08-13 17:41     ` reading cyrillic with gnus Vasily Korytov
@ 2002-08-14 10:06       ` cheusov
  2002-08-14 17:25         ` Vasily Korytov
  0 siblings, 1 reply; 4+ messages in thread
From: cheusov @ 2002-08-14 10:06 UTC (permalink / raw)


moderator@faqteam.org (Vasily Korytov) writes:

> >>>>> "c" == cheusov writes:
> 
>  >> Try tweaking gnus-group-charset-alist.
> 
>  c> It seems it doesn't work at all.
> 
>  c> With the following (put-charset-property 'cyrillic-iso8859-5
>  c> 'prefered-coding-system 'utf-8)
> 
>  c> all messages sent to fido7.* news group are sent using utf-8
>  c> character set while gnus-group-charset-alist is
> 
> for _sent_ messages, use gnus-group-posting-charset-alist.

Doesn't matter.

After (setq gnus-group-posting-charset-alist
      (quote (("fido7" koi8-r (koi8-r)) (message-this-is-mail (koi8-r)
              (koi8-r)) (message-this-is-news nil t))))

the message has been sent in UTF-8 again.

> 
> --
>                      With respect, Vasily Korytov
> 
> PGP key fingerprint: A4FE 4665 A720 687F 4ECC 1474 7C16 C498 BAAB
> C999


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

* Re: reading cyrillic with gnus
       [not found] <m31y93bre3.fsf@gmx.net>
       [not found] ` <87n0rrutpw.fsf@unix.home>
@ 2002-08-14 15:15 ` Ted Zlatanov
  1 sibling, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2002-08-14 15:15 UTC (permalink / raw)


On 13 Aug 2002, loetev@gmx.net wrote:
> 
> How can I read newsgroups where people post in cyrillic?
> I managed to read the cyrillic text at soc.culture.russian by this:
> 
> (gnus-mule-add-group "soc.culture.russian" 'cyrillic-koi8)
> 
> But it did not help for soc.culture.bulgaria.

This is what I use:

(setq gnus-group-charset-alist (quote (("bulgaria" windows-1251) ("^relcom\\>" koi8-r) ("^fido7\\>" koi8-r) (".*" iso-8859-1))))

(codepage-setup 1251)

;;; not sure which one of these two is right
(define-coding-system-alias 'windows-1251 'cp1251)
(add-to-list 'mm-charset-synonym-alist '(windows-1251 . cp1251))

;; post with 1251
(add-to-list 'gnus-group-posting-charset-alist (quote (("bulgaria" nil (cp1251)))))

Hope that helps

--
Teodor Zlatanov <tzz@iglou.com>
"Brevis oratio penetrat colos, longa potatio evacuat ciphos." -Rabelais


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----


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

* Re: reading cyrillic with gnus
  2002-08-14 10:06       ` cheusov
@ 2002-08-14 17:25         ` Vasily Korytov
  0 siblings, 0 replies; 4+ messages in thread
From: Vasily Korytov @ 2002-08-14 17:25 UTC (permalink / raw)


>>>>> "c" == cheusov  writes:

 >> for _sent_ messages, use gnus-group-posting-charset-alist.

 c> Doesn't matter.

 c> After (setq gnus-group-posting-charset-alist
 c> (quote (("fido7" koi8-r (koi8-r)) (message-this-is-mail (koi8-r)
 c> (koi8-r)) (message-this-is-news nil t))))

 c> the message has been sent in UTF-8 again.

Strange. I have good expierence of using Gnus in Emacs 21.1/Mule and
XEmacs 21.1 and 21.4 non-Mule, while setting really a few variables (I
am a Russian user and I do read and post in fido7.* every morning along
with my cup of coffee).

I believe, all my related settings are:

(setq gnus-group-charset-alist '((".*" koi8-r))

      gnus-group-posting-charset-alist
      '((message-this-is-news koi8-r (koi8-r))
	(message-this-is-mail nil (koi8-r)))

      mm-body-charset-encoding-alist '((koi8-r . 8bit))
      message-default-charset 'koi8-r)

Plus this construction to make Mule happy:
(put-charset-property 'cyrillic-iso8859-5
                      'preferred-coding-system 'koi8-r)

NB: My setup does not include any references to other charsets (I don't
use them) or Mule-specific stuff to force KOI-8 (I have set up KOI8-R
env. in Mule by default, so I don't need to override it -- I even don't
know, if it's needed).

-- 
	Vas.


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

end of thread, other threads:[~2002-08-14 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m31y93bre3.fsf@gmx.net>
     [not found] ` <87n0rrutpw.fsf@unix.home>
     [not found]   ` <s93adnqn1ho.fsf@cheusov.scnsoft.com>
2002-08-13 17:41     ` reading cyrillic with gnus Vasily Korytov
2002-08-14 10:06       ` cheusov
2002-08-14 17:25         ` Vasily Korytov
2002-08-14 15:15 ` Ted Zlatanov

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