[Info-vax] Does OpenVMS Use Unicode?
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Mon Jun 13 07:04:11 EDT 2016
Den 2016-06-13 kl. 12:30, skrev lawrencedo99 at gmail.com:
> On Monday, June 13, 2016 at 10:15:54 PM UTC+12, Jan-Erik Soderholm wrote:
>
>> Python uses 7-bit for it's basic "string" data type.
>
> Python strings are Unicode <https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals>.
>
Yes, but in Unicode, you can not encode single byte characters in the
"upper" half of the 8 bit space. Anything in the "extended ASCII" part
will be multi byte characters in Unicode. So characters like those in
the example (that you snipped) will create errors in (som parts of)
Python.
More information about the Info-vax
mailing list