From 9f9f5205b0ff2223ddb73005990440ae18ea8158 Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 27 Oct 2010 09:54:17 +0000 Subject: [PATCH] Fix some encoding issues. props hakre, fixes #14735. git-svn-id: http://svn.automattic.com/wordpress/trunk@16005 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/functions.php | 2 +- wp-includes/class-snoopy.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index d7a127a211..82c747bac1 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -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 */ diff --git a/wp-includes/class-snoopy.php b/wp-includes/class-snoopy.php index da3d824eee..66ff71fc36 100644 --- a/wp-includes/class-snoopy.php +++ b/wp-includes/class-snoopy.php @@ -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);