Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Can't send article to sql.ru: 411 Failed - Please use Windows-1251 or KOI8-R encoding.
@ 2012-12-26 23:25 Oleksandr Gavenko
  2012-12-26 23:51 ` Adam Sjøgren
  0 siblings, 1 reply; 3+ messages in thread
From: Oleksandr Gavenko @ 2012-12-26 23:25 UTC (permalink / raw)
  To: info-gnus-english

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

I can read articles from sql.ru and post with Latin charset and ever with
Russian *From*.

But when *Body* have Russian letters it returns:

  411 Failed - Please use Windows-1251 or KOI8-R encoding.

I try send:

  

[-- Attachment #2.1: Type: text/plain, Size: 439 bytes --]

  Привет!
  </#multipart>

but server policy forbid attachment in mail:

  411 Failed - Please send plain messages. No HTML or attachments is accepted!

So I try:

  (set 'gnus-group-posting-charset-alist '(("^sqlru\\." cp1251 (cp1251))))

But this doesn't help me...

sql.ru have NNTP gateway to discussion Russian forum and require
authentication for reading/posting and have *sql.test* group.

-- 
Best regards!

[-- Attachment #3: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: Can't send article to sql.ru: 411 Failed - Please use Windows-1251 or KOI8-R encoding.
  2012-12-26 23:25 Can't send article to sql.ru: 411 Failed - Please use Windows-1251 or KOI8-R encoding Oleksandr Gavenko
@ 2012-12-26 23:51 ` Adam Sjøgren
  2012-12-27 21:20   ` Oleksandr Gavenko
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Sjøgren @ 2012-12-26 23:51 UTC (permalink / raw)
  To: info-gnus-english

On Thu, 27 Dec 2012 01:25:18 +0200, Oleksandr wrote:

>   411 Failed - Please use Windows-1251 or KOI8-R encoding.

Does it help to set:

  (setq mm-coding-system-priorities '(cp1251))

?


  Best regards,

    Adam

-- 
 "I told the teacher I had to go to the bathroom.             Adam Sjøgren
  Quick, what's 11+7?"                                   asjo@koldfront.dk

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

* Re: Can't send article to sql.ru: 411 Failed - Please use Windows-1251 or KOI8-R encoding.
  2012-12-26 23:51 ` Adam Sjøgren
@ 2012-12-27 21:20   ` Oleksandr Gavenko
  0 siblings, 0 replies; 3+ messages in thread
From: Oleksandr Gavenko @ 2012-12-27 21:20 UTC (permalink / raw)
  To: info-gnus-english

On 2012-12-27, Adam Sjøgren wrote:

> On Thu, 27 Dec 2012 01:25:18 +0200, Oleksandr wrote:
>
>>   411 Failed - Please use Windows-1251 or KOI8-R encoding.
>
> Does it help to set:
>
>   (setq mm-coding-system-priorities '(cp1251))
>
Yes this help. Before send a question I try:

  (setq gnus-newsgroup-variables '(mm-coding-system-priorities))
  (setq gnus-parameters
        '(
          ("sqlru\\..*" (mm-coding-system-priorities (cp1251)))
          ))

But 'mm-coding-system-priorities' doesn't set for sqlru.test group.

So seems a problem with setting mm-coding-system-priorities per group...

C-u M-x gnus-version RET Gnus v5.13

Also I found strange behaviour if evaluate:

  (setq mm-coding-system-priorities '(cp1251))
  (setq gnus-newsgroup-variables '(mm-coding-system-priorities))
  (setq gnus-parameters nil) ;; or (("sqlru\\..*" (mm-coding-system-priorities (cp1251))))

and enter to any group global value of 'mm-coding-system-priorities' reset to
nil!

This evening I try "G p" on 'sqlru.test':

  ((timestamp 20700 47708)
   (mm-coding-system-priorities
    '(cp1251)))

'mm-coding-system-priorities' set in *Articles sqlru.test* buffer, but when I
press 'a' (gnus-summary-post-news) in *unsent posting* buffer
'mm-coding-system-priorities' is null!

-- 
Best regards!


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2012-12-27 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-26 23:25 Can't send article to sql.ru: 411 Failed - Please use Windows-1251 or KOI8-R encoding Oleksandr Gavenko
2012-12-26 23:51 ` Adam Sjøgren
2012-12-27 21:20   ` Oleksandr Gavenko

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