Re: message encoding in bx_filters_platforms_form2mail
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
Hi On 8.9.2005 14:50 Uhr, qMax wrote: > Thursday, September 8, 2005, 6:11:31 PM, qMax wrote: > q> Due to utf8_decode in function submitFields, > q> message body became always 7bit latin-1. > > Here's patch to recode message into charset specified in form:parameters. > > using iconv - should always work. Thanks, I applied it, but iconv is not available everywhere (strangely enough, I was not able to build iconv on my mac lately. maybe it's fixed..). Therefore I fixed your script a little bit, and if iconv is not available or charset is "ISO-8859-1" it still uses utf8_decode Thanks for the patch chregu > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms