Storing instances using jsonpickle
Marko Rauhamaa
marko at pacujo.net
Fri Sep 5 16:57:02 EDT 2014
Ned Batchelder <ned at nedbatchelder.com>:
> I see what you mean about JSON, but you are mistaken about HTTP and
> XML. Neither of them dictates the encoding of the data, and both of
> them offer ways to declare the encoding. This means XML parsers must
> be prepared for many different encodings.
You can rest assured that the line
GET / HTTP/1.1<CR><LF>
is strictly 8-bit ASCII.
I was intentionally exaggerating about XML, but I have yet to encounter
non-UTF-8 XML in the wild.
Marko
More information about the Python-list
mailing list