[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23.0.60; there is a bug in xml.el [unicode version]
From: |
Wang Diancheng |
Subject: |
23.0.60; there is a bug in xml.el [unicode version] |
Date: |
Thu, 17 Jan 2008 14:19:02 +0800 |
when calling function "xml-print" create malformed characters if XML include
unicode characters. following is a patch:
--- xml.el~ 2008-01-09 09:13:48.000000000 +0800
+++ xml.el 2008-01-17 13:24:18.000000000 +0800
@@ -852,10 +852,7 @@
(if (rassoc char xml-entity-alist)
(concat "&" (car (rassoc char xml-entity-alist)) ";")
char)))
- (if (multibyte-string-p string)
- (encode-coding-string string 'utf-8)
- string)
- ""))
+ string ""))
(defun xml-debug-print-internal (xml indent-string)
"Outputs the XML tree in the current buffer.
- 23.0.60; there is a bug in xml.el [unicode version],
Wang Diancheng <=