Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e28e67b3
Commit
e28e67b3
authored
Sep 27, 2012
by
Stefan Monnier
Browse files
* lisp/json.el (json-encode-char): Codes 127 isn't "ASCII printable" either.
parent
9cad61d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lisp/ChangeLog
lisp/ChangeLog
+1
-1
lisp/json.el
lisp/json.el
+1
-1
No files found.
lisp/ChangeLog
View file @
e28e67b3
2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
* json.el (json-encode-char): Codes 12
8
-160 aren't "ASCII printable".
* json.el (json-encode-char): Codes 12
7
-160 aren't "ASCII printable".
2012-09-27 Glenn Morris <rgm@gnu.org>
...
...
lisp/json.el
View file @
e28e67b3
...
...
@@ -315,7 +315,7 @@ representation will be parsed correctly."
(
control-char
(
format
"\\%c"
control-char
))
;; ASCIIish printable character.
((
and
(
>
char
31
)
(
<
char
12
8
))
((
and
(
>
char
31
)
(
<
char
12
7
))
(
format
"%c"
char
))
;; Fallback: UCS code point in \uNNNN form.
(
t
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment