Ticket #3782: 3782.3.patch
File 3782.3.patch, 733 bytes (added by , 10 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 = array_merge( $chars, array( 793 chr(195).chr(132) => 'Ae', chr(195).chr(164) => 'ae', 794 chr(195).chr(150) => 'Oe', chr(195).chr(182) => 'oe', 795 chr(195).chr(156) => 'Ue', chr(195).chr(188) => 'ue', 796 chr(195).chr(159) => 'ss', 797 ) ); 798 } 799 788 800 $string = strtr($string, $chars); 789 801 } else { 790 802 // Assume ISO-8859-1 if not UTF-8