On Thu, 9 Jan 2014 13:36:05 -0800
Chris Barker <chris.bar...@noaa.gov> wrote:
> 
> Some folks have suggested using latin-1 (or other 8-bit encoding) -- is
> that guaranteed to work with any binary data, and round-trip accurately?

Yes, it is.

> and will surrogateescape work for arbitrary binary data?

Yes, it will.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to