Make WordPress Core

Opened 20 years ago

Closed 19 years ago

#186 closed defect (bug) (wontfix)

mail is sent in from charset format resulting in garbled chars instead of umlauts

Reported by: ihad's profile Ihad Owned by: matt's profile matt
Milestone: Priority: normal
Severity: trivial Version:
Component: General Keywords:
Focuses: Cc:


´ äöüßÄÖÜ these chars are garbled (i bet there are more) whenever WP sends a mail, e.g. when a comment is posted.

Change History (9)

#2 @Ihad
20 years ago

?? why has this not been adressed yet? While it is of no concern for the english speaking users except for the '´` characters not being properly escaped by wp email sends I would like to see this fixed for the german speaking user base...


#3 @Sebbi
20 years ago

Are the mails "garbled" entirely or is it just the subject/from line?

What mail client are you using?

#4 @Ihad
20 years ago

sebbi, it's not a question of what I use, but rather how WP sends the text via the mail function on the host where it is installed and right now WP probably does not use the proper character encoding to ensure that ascii chars like äöüßÄÖÜ and ´ are processed properly. That's all there really is to it. The result is a Text where any and all these occurances are displayed as "Garbage Chars" (anywhere be it subject line or message body).

Besides the email text also loses all line breaks and is in general not really formatted nicely.

#5 @Sebbi
20 years ago

Ihad, it may be a question of what you use :-)

The mailbody is not "garbled" with the combination php->postfix on linux and uses the correct charset (the one set in your options). There might be a problem on your system similiar to the problem that is described in bug 263:

As for the subject (and possible the from-header): there is a bug fix/patch in bug 209:
It's only a workaround, there currently is a discussion on the hackers-mailinglist about a more "complete" mail-patch.

Could you forward (as attachment) such a mail to mail (aaat)

#6 @Ihad
20 years ago

comment see:

email that gets sent by WP:
From: "ai" <ai@…> Content-Type: text/plain; charset="utf-8" Message-Id: <E1C5Ms5-0002MS-00@…>
X-Provags-ID: abuse@… sender-info:13398828@infong22

New comment on your post #19 "wordpress bugtracker" Author : ai (IP: , E-mail : ai@… URI : Whois : Comment: email bug sonderzeichen->>>: äöü und ÄÖÜ und ß und ´ ` Formatierung verliert alle line breaks. / leerzeile? woran liegt's? ai You can see all comments on this post here:

#7 @Sebbi
20 years ago

Looks like something deletes the "\r\n" after the inserted header-lines. As a result of that "content-type" and "charset" might not be recognized by your mailprogramm. Look at the comment to the php-mail-function ( in their manual. There are different line-endings for different types of os'...

#8 @anonymousbugger
20 years ago

i do not have access to the server side scripts of the php mail code. sorry i don't see how i can fix this myself.

#9 @matt
19 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 50
  • Status changed from new to closed

If you have mb_ functions this should work better.

Note: See TracTickets for help on using tickets.