Commit e28e67b3 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/json.el (json-encode-char): Codes 127 isn't "ASCII printable" either.

parent 9cad61d6
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>
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment