(www-display-object-desc): Use `www-uri-encode-object' instead of
authorMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Tue, 16 Nov 2010 07:34:31 +0000 (16:34 +0900)
committerMORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
Tue, 16 Nov 2010 07:34:31 +0000 (16:34 +0900)
`www-uri-encode-char'.
(www-batch-view): Likewise.

cwiki-view.el

index 948b309..1b8d1fa 100644 (file)
@@ -15,7 +15,7 @@
     (when object
       (when (and (eq genre 'character)
                 (= (length uri-object) 1))
-       (setq uri-object (www-uri-encode-char object)))
+       (setq uri-object (www-uri-encode-object object)))
       (when (= level 1)
        (princ
         (encode-coding-string
@@ -298,7 +298,7 @@ size=\"30\" maxlength=\"30\" value=\"%s\" />"
            (setq ret (match-end 0))
            (setq target
                  (concat "char="
-                         (www-uri-encode-char
+                         (www-uri-encode-object
                           (www-uri-decode-object
                            'character (match-string 1 target)))
                          (substring target ret))))