I have patched the plugin to make Umlauts work in the sidebar widget. Please note that you must save the file using UTF-8 coding to make it work, since the Umlauts are included in the file now.
--- twitter-tools.php.orig 2010-08-16 05:22:42.000000000 +0200
+++ twitter-tools.php 2011-03-29 22:01:21.756399300 +0200
@@ -826,7 +826,7 @@
function aktt_tweet_display($tweet, $time = 'relative') {
global $aktt;
- $output = aktt_make_clickable(wp_specialchars($tweet->tw_text));
+ $output = aktt_make_clickable(esc_html__($tweet->tw_text));
if (!empty($tweet->tw_reply_username)) {
$output .= ' <a href="'.aktt_status_url($tweet->tw_reply_username, $tweet->tw_reply_tweet).'" class="aktt_tweet_reply">'.sprintf(__('in reply to %s', 'twitter-tools'), $tweet->tw_reply_username).'</a>';
}
@@ -846,7 +846,7 @@
function aktt_make_clickable($tweet) {
$tweet .= ' ';
$tweet = preg_replace_callback(
- '/(^|\s)@([a-zA-Z0-9_]{1,})(\W)/'
+ '/(^|\s)@([a-zA-Z0-9_├ñ├ä├Â├û├╝├£├ƒ]{1,})(\W)/'
, create_function(
'$matches'
, 'return aktt_profile_link($matches[2], \' @\', $matches[3]);'
@@ -854,7 +854,7 @@
, $tweet
);
$tweet = preg_replace_callback(
- '/(^|\s)#([a-zA-Z0-9_]{1,})(\W)/'
+ '/(^|\s)#([a-zA-Z0-9_├ñ├ä├Â├û├╝├£├ƒ]{1,})(\W)/'
, create_function(
'$matches'
, 'return aktt_hashtag_link($matches[2], \' #\', \'\');'
@@ -867,7 +867,7 @@
}
else {
return make_clickable($tweet);
- }
+ }
}
function aktt_tweet_form($type = 'input', $extra = '') {