Ticket #3782: 3782.5.patch
File 3782.5.patch, 742 bytes (added by , 12 years ago) |
---|
-
wp-includes/formatting.php
785 785 chr(199).chr(155) => 'U', chr(199).chr(156) => 'u', 786 786 ); 787 787 788 // Used for locale-specific rules 789 $locale = get_locale(); 790 791 if ( 'de_DE' == $locale ) { 792 $chars[ chr(195).chr(132) ] = 'Ae'; $chars[ chr(195).chr(164) ] = 'ae'; 793 $chars[ chr(195).chr(150) ] = 'Oe'; $chars[ chr(195).chr(182) ] = 'oe'; 794 $chars[ chr(195).chr(156) ] = 'Ue'; $chars[ chr(195).chr(188) ] = 'ue'; 795 $chars[ chr(195).chr(159) ] = 'ss'; 796 } 797 788 798 $string = strtr($string, $chars); 789 799 } else { 790 800 // Assume ISO-8859-1 if not UTF-8