]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Utils: we are an UTF-8 aware bot now, no need to ASCIIfy HTML entities
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2007 09:25:14 +0000 (09:25 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2007 09:25:14 +0000 (09:25 +0000)
lib/rbot/core/utils/utils.rb

index 4a3a9c0a00e3847db87b4dede1851dcb33819a5d..115263707bdd27676568897ce24fb9103a93ff3a 100644 (file)
@@ -31,24 +31,19 @@ rescue LoadError
     module ::Irc
       module Utils
         UNESCAPE_TABLE = {
-    'laquo' => '<<',
-    'raquo' => '>>',
+    'laquo' => '«',
+    'raquo' => '»',
     'quot' => '"',
     'apos' => '\'',
-    'micro' => 'u',
-    'copy' => '(c)',
-    'trade' => '(tm)',
-    'reg' => '(R)',
-    '#174' => '(R)',
-    '#8220' => '"',
-    '#8221' => '"',
-    '#8212' => '--',
-    '#39' => '\'',
+    'micro' => 'µ',
+    'copy' => '©',
+    'trade' => '™',
+    'reg' => '®',
     'amp' => '&',
     'lt' => '<',
     'gt' => '>',
-    'hellip' => '...',
-    'nbsp' => ' ',
+    'hellip' => '',
+    'nbsp' => ' ',
 =begin
     # extras codes, for future use...
     'zwnj' => '&#8204;',