(chise-turtle-uri-encode-ccs-name): It has been defined in
authorMORIOKA Tomohiko <tomo.git@chise.org>
Sun, 16 Dec 2018 14:37:20 +0000 (23:37 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Sun, 16 Dec 2018 14:37:20 +0000 (23:37 +0900)
chiset-common.el.

isd-turtle.el

index d85dfe7..11bd650 100644 (file)
@@ -1,4 +1,4 @@
-;;; isd-turtle.el --- Utility to dump ideographic-structure as Turtle files
+;;; isd-turtle.el --- Utility to dump ideographic-structure as Turtle files; -*- coding: utf-8-mcs-er -*-
 
 ;; Copyright (C) 2017, 2018 MORIOKA Tomohiko
 
 ;;                    (char-to-string c)))
 ;;                (www-uri-encode-feature-name feature-name)
 ;;                ""))))
-(defun chise-turtle-uri-encode-ccs-name (feature-name)
-  (cond
-   ((eq '=ucs feature-name)
-    "a.ucs")
-   ((eq '=big5 feature-name)
-    "a.big5")
-   ((eq '==>ucs@bucs feature-name)
-    "bucs")
-   (t
-    (mapconcat (lambda (c)
-                (cond
-                 ((eq c ?@)
-                  "_")
-                 ((eq c ?+)
-                  "._.")
-                 ((eq c ?=)
-                  ".:.")
-                 (t
-                  (char-to-string c))))
-              (www-uri-encode-feature-name feature-name)
-              ""))))
 
 ;; (defun isd-turtle-format-ccs-code-point (ccs code-point)
 ;;   (unless (memq ccs isd-turtle-ccs-list)