Unicode chr(150) en dash

hdante hdante at gmail.com
Fri Apr 18 19:33:02 CEST 2008


On Apr 18, 8:36 am, John Machin <sjmac... at lexicon.net> wrote:
> 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

 Sorry, that's right, I should have been referring to the second
table.



More information about the Python-list mailing list