Unicode chr(150) en dash
John Machin
sjmachin at lexicon.net
Fri Apr 18 07:36:28 EDT 2008
hdante wrote:
>
> The character code in question (which is present in the page), 150,
> doesn't exist in ISO-8859-1.
Are you sure? Consider (re-)reading all of the Wikipedia article.
150 aka \x96 doesn't exist in ISO 8859-1. ISO-8859-1 (two hyphens) is a
superset of ISO 8859-1 (one hyphen) and adds the not-very-useful-AFAICT
control codes \x80 to \x9F.
> See
>
> http://en.wikipedia.org/wiki/ISO/IEC_8859-1 (the entry for 150 is
> blank)
You must have been looking at the table of the "lite" ISO 8859-1 (one
hyphen). Reading further you will see \x96 described as SPA or "Start of
Guarded Area". Then there is the ISO-8859-1 (two hyphens) table,
including \x96.
HTH,
John
More information about the Python-list
mailing list