[wp-trac] Re: [WordPress Trac] #6788: wp-mail.php utf8 (umlauts)

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 21 01:58:36 GMT 2008


#6788: wp-mail.php utf8 (umlauts)
------------------------------------------------+---------------------------
 Reporter:  revolution48                        |        Owner:  anonymous
     Type:  defect                              |       Status:  new      
 Priority:  normal                              |    Milestone:  2.5.1    
Component:  General                             |      Version:  2.5      
 Severity:  major                               |   Resolution:           
 Keywords:  utf8, wp-mail.php, deutsch, umlaut  |  
------------------------------------------------+---------------------------
Comment (by revolution48):

 Problem:
 Wordpress version 2.5 wp-mail.php cuts off subjects and content containing
 german umlauts.

 Solution:
 We can fix this by adding utf8_decode to wp-mail.php

 Add this code:

 Line 65
 $subject = utf8_encode($subject);

 Line 154
 $content = utf8_encode($content);

 Status:
 a FORUM entry has been made here http://wordpress.org/support/topic/170583

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6788#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list