Subject: Developers of Sympa
List archive
- From: Roman Barczyński <address@concealed>
- To: address@concealed
- Subject: [sympa-dev] encode_mimewords and charsets
- Date: Fri, 7 Jan 2005 00:26:36 +0100
Hi, did you ever considered making encode_mimewords charset configurable?
e.g. on per-list basis in excl/*/config
default_charset ISO-8859-2
And modify code
- $msg_header->replace('Subject',
MIME::Words::encode_mimewords($msg_header->get('Subject')));
+ $msg_header->replace('Subject',
MIME::Words::encode_mimewords($msg_header->get('Subject'),'Q',__THAT_CHARSET__));
Another (best in my oppinion) way would be encode strings same charset
as it was before decoding.
I've meet problem because most of my messages I send using ISO-8859-2.
After sympa handles those mesages Subject becomes ISO-8859-1
quoted_printable-encoded.
Also could you help me providing __THAT_CHARSET__ replacement in code
above to hot-fix my sympa installation? __THAT_CHARSET__ shoud be
replaced with encoding taken eigter from original subject charset or
from default_charset from list config file...
best regards
--
Roman Barczyński
-
[sympa-dev] encode_mimewords and charsets,
Roman Barczyński, 01/06/2005
- Re: [sympa-dev] encode_mimewords and charsets, Olivier Salaün - CRU, 01/07/2005
Archive powered by MHonArc 2.6.19+.