(est-uri-decode-feature-name-body): Decode "._." into `+'.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 15 Mar 2019 08:56:37 +0000 (17:56 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 15 Mar 2019 08:56:37 +0000 (17:56 +0900)
(est-uri-encode-feature-name-body): Encode `+' into "._.".

chiset-common.el

index ee1ee8b..e13cc36 100644 (file)
@@ -1,6 +1,6 @@
 ;;; chiset-common.el --- CHISET common utility -*- coding: utf-8-er; -*-
 
-;; Copyright (C) 2010,2011,2012,2013,2014,2015,2016,2017,2018 MORIOKA Tomohiko.
+;; Copyright (C) 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019 MORIOKA Tomohiko.
 
 ;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
 ;; Keywords: CHISE, RDF, Turtle, WWW
@@ -66,6 +66,8 @@
                           "/")
                          ((eq ch ?-)
                           "*")
+                         ((eq ch ?_)
+                          "+")
                          (t
                           (substring uri-feature i (+ i 3))
                           ))
@@ -83,6 +85,8 @@
                      ".-.")
                     ((eq c ?/)
                      "...")
+                    ((eq c ?+)
+                     "._.")
                     (t (char-to-string c))))
             feature ""))