--- ./wp-postalicious.php.old	2007-08-06 06:31:38.000000000 +0400
+++ ./wp-postalicious.php	2007-08-05 13:01:59.000000000 +0400
@@ -488,7 +488,7 @@
 			if(!$rawxml) { $unsuccessful = 'yes'; break; }
 		}
 		//$rawxml = utf8_decode($rawxml);
-		$parser = xml_parser_create('ISO-8859-1');
+		$parser = xml_parser_create('UTF-8');
 		xml_set_element_handler($parser,'neop_del_start_handler','neop_del_end_handler');
 		xml_parse($parser, $rawxml);
 		xml_parser_free($parser);
@@ -679,8 +679,8 @@
 			$count++;
 			$currentlink = $neop_del_linktemplate;
 			$currentlink = str_replace("%href%",$attrs['HREF'],$currentlink);
-			$currentlink = str_replace("%description%",htmlentities($attrs['DESCRIPTION'],NULL,'ISO-8859-1'),$currentlink);
-			$currentlink = str_replace("%extended%",htmlentities($attrs['EXTENDED'],NULL,'ISO-8859-1'),$currentlink);
+			$currentlink = str_replace("%description%",htmlentities($attrs['DESCRIPTION'],NULL,'UTF-8'),$currentlink);
+			$currentlink = str_replace("%extended%",htmlentities($attrs['EXTENDED'],NULL,'UTF-8'),$currentlink);
 			
 			if($attrs['TAG'] != 'system:unfiled') {
 				$nd_del_tagurl = 'http://del.icio.us/'.urlencode($neop_del_username).'/';
@@ -688,7 +688,7 @@
 				foreach($tags as $t) {
 					$currenttag = $neop_del_tagtemplate;
 					$currenttag = str_replace("%tagurl%",$nd_del_tagurl.urlencode($t),$currenttag);
-					$currenttag = str_replace("%tagname%",htmlentities($t,NULL,'ISO-8859-1'),$currenttag);
+					$currenttag = str_replace("%tagname%",htmlentities($t,NULL,'UTF-8'),$currenttag);
 					$tag .= $currenttag . ' ';
 				}
 				if($nd_tagging_status == 'yes' && $nd_use_del_tags_status == 'yes') {
@@ -733,4 +733,4 @@
 add_action('nd_daily_update', 'neop_del_post_new');
 //register_activation_hook(__FILE__, 'neop_activate_del');
 //register_deactivation_hook(__FILE__, 'neop_deactivate_del');
-?>
\ No newline at end of file
+?>
