(est-coded-charset-priority-list): Add `===ucs@iso'.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 11 Feb 2016 09:51:35 +0000 (18:51 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 11 Feb 2016 09:51:35 +0000 (18:51 +0900)
(www-format-encode-string): Use GlyphWiki to display SIP characters.
(coded-charset-GlyphWiki-id-alist): Add setting for `==ucs@iso'.

cwiki-common.el

index 13462d1..97fbc62 100644 (file)
@@ -83,6 +83,7 @@
     =>>ucs@jis =>>ucs@cns =>>ucs@ks
     =>>>ucs@iso =>>>ucs@unicode
     =>>>ucs@jis =>>>ucs@cns =>>>ucs@ks
+    ===ucs@iso
     =ruimoku-v6
     =big5
     =big5-cdp
@@ -984,6 +985,17 @@ style=\"vertical-align:middle; width: 48px; height: 48px\">"
             t 'literal))
 
          (goto-char (point-min))
+         (while (re-search-forward "&\\(o-\\|G-\\|g2-\\)?IU-\\([0-9A-F]+\\);" nil t)
+           (setq code (string-to-int (match-string 2) 16))
+           (replace-match
+            (format "<img alt=\"u%04x\" src=\"http://glyphwiki.org/glyph/u%04x.100px.png\"
+style=\"vertical-align:middle; width: 48px; height: 48px\">"
+                    code
+                    code
+                    www-format-char-img-style)
+            t 'literal))
+
+         (goto-char (point-min))
          (while (re-search-forward "&\\(o-\\|G-\\|g2-\\|R-\\)?U-i\\([0-9]+\\)\\+\\([0-9A-F]+\\);" nil t)
            (setq plane (string-to-int (match-string 2))
                  code (string-to-int (match-string 3) 16))
@@ -1188,6 +1200,7 @@ style=\"vertical-align:middle\">"
     (=>>hanyo-denshi/ks        "koseki-" 6 d nil)
     (=ucs@jis          "u"     4 x nil)
     (==ucs@jis         "u"     4 x nil)
+    (==ucs@iso         "u"     4 x nil)
     (===ucs@jis                "u"     4 x nil)
     (=ucs@cns          "u"     4 x "-t")
     (==ucs@cns         "u"     4 x "-t")