Fix some encoding issues. props hakre, fixes #14735.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -434,7 +434,7 @@ add_action( 'widgets_init', 'twentyten_remove_recent_comments_style' );
|
||||
|
||||
if ( ! function_exists( 'twentyten_posted_on' ) ) :
|
||||
/**
|
||||
* Prints HTML with meta information for the current post—date/time and author.
|
||||
* Prints HTML with meta information for the current post-date/time and author.
|
||||
*
|
||||
* @since Twenty Ten 1.0
|
||||
*/
|
||||
|
||||
@@ -719,13 +719,13 @@ class Snoopy
|
||||
chr(176),
|
||||
chr(39),
|
||||
chr(128),
|
||||
"ä",
|
||||
"ö",
|
||||
"ü",
|
||||
"Ä",
|
||||
"Ö",
|
||||
"Ü",
|
||||
"ß",
|
||||
chr(0xE4), // ANSI ä
|
||||
chr(0xF6), // ANSI ö
|
||||
chr(0xFC), // ANSI ü
|
||||
chr(0xC4), // ANSI Ä
|
||||
chr(0xD6), // ANSI Ö
|
||||
chr(0xDC), // ANSI Ü
|
||||
chr(0xDF), // ANSI ß
|
||||
);
|
||||
|
||||
$text = preg_replace($search,$replace,$document);
|
||||
|
||||
Reference in New Issue
Block a user