Hi.
I`m using a webform.module for few days and figured out that the webform is sending bad symbols instead of non-english words by email.
So, email recepients recivied message in such way:

Submitted values are:

=D0=92=D0=B0=D1=88=D0=B5 =D0=B8=D0=BC=D1=8F / name :

Coded word was printed on russian in webform`s textfield name.

I thought that this bug came from this string in webform module:
Content-Transfer-Encoding: quoted-printable
When i changed it at "utf8" nothing happens.

For example mail.module is using same things but doesn`t use
those string (Content-Transfer-Encoding) in mail headers. When i deleted those string from
webmail.module, nothing was happens again.

I`m getting frustrated with this:(
Help please!

P.s.
Encoding of a site is UTF8, the same is in webform.

Comments

Steven’s picture

Content-Transfer-Encoding specifies the method of putting the bytes in the email, it does not deal with character encodings. For that, you need a header like this:

Content-Type: text/plain; charset=utf-8

arsart’s picture

This content-type is writen in headers.
I think that a problem is near quoted-printable, cause i have decode this letter with a email-decoder programm and in the results of a decoding programm wrotes from what encoding letter was decoded - there was such string
KOI -> Quoted-printable
KOI -> UTF-8

---------------
DesignCollector

arsart’s picture

i have deleted this functions in webform.module
_webform_encodeHeader
_webform_qp_enc

they encoded 8-bit characters, i don`t why this functions are implemeted when encoding is utf8?

everything is working good now

---------------
DesignCollector