gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii charset in procmailrc


From: Baurzhan Ismagulov
Subject: Re: gnokii charset in procmailrc
Date: Fri, 29 Jun 2012 09:52:24 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Jun 29, 2012 at 01:45:55AM +0400, Anna Skorokhodova (Yandex) wrote:
> can't sendsms in russian via procmail
...
> In shell everything is OK
...
> but if i use gnokii in procmail i get (empty) body of sms while it's
> in Rus (in Eng it delivers all text correctly)
> 
> locale is LANG=ru_RU.UTF-8
> 
> to reach the goal i send an e-mail to specially created account sms.
> it's .procmailrc splits e-mail headers and gives parts to gnokii.
...
> ucs2_encode/iconv: Invalid or incomplete multibyte or wide character
...
> as you can find Subject field was correctly decoded from koi8-r MIME
> to utf8.

The following could help:

* The data piped to gnokii (gzip if you send it here to avoid conversion
  by mail software),

* /usr/bin/locale output from the same environment gnokii is running in
  (i.e., sudo started from procmail, since sudo filters the
  environment for security).

With kind regards,
Baurzhan.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]