summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/json.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 079a3feaea1..1c9c7c3c449 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,6 @@
2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
- * json.el (json-encode-char): Codes 128-160 aren't "ASCII printable".
+ * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2012-09-27 Glenn Morris <rgm@gnu.org>
diff --git a/lisp/json.el b/lisp/json.el
index 1a70d0b40ce..8167bfe93f2 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -315,7 +315,7 @@ representation will be parsed correctly."
(control-char
(format "\\%c" control-char))
;; ASCIIish printable character.
- ((and (> char 31) (< char 128))
+ ((and (> char 31) (< char 127))
(format "%c" char))
;; Fallback: UCS code point in \uNNNN form.
(t