[Python-Dev] Internal representation of strings and Micropython
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Jun 6 12:48:59 CEST 2014
Steven D'Aprano wrote:
> I don't know about car engine controllers, but presumably they have
> diagnostic ports, and they may sometimes output text. If they output
> text, then at least hypothetically car mechanics in Russia might prefer
> their car to output "правда" and "ложный" rather than "true" and
> "false".
From a bit of googling, it seems that engine controller
diagnostic ports typically speak some kind of binary
protocol. So it would be up to the software running on
whatever was plugged into the port to display the
information in the user's native language.
E.g. this document lists a big pile of hex byte values
and little or no text that I can see:
https://law.resource.org/pub/us/cfr/ibr/005/sae.j1979.2002.pdf
--
Greg
More information about the Python-Dev
mailing list