string.encode on HP-UX
Richard Townsend
richardt at edshk.demon.co.uk
Fri Jul 23 04:11:21 EDT 2004
In article <cdovv5$jvg at newton.cc.rl.ac.uk>, Richard Brodie
<R.Brodie at rl.ac.uk> writes
>
>
>I've put what should be a proper codec as a patch on SF. Really needs
>testing on HP-UX though....
>
>
Hi Richard,
I copied your hp_roman.py file to ../lib/python2.3/encodings and added
the line
'roman8' : 'hp_roman'
to aliases.py and string.encode('roman8') now runs without raising an
exception.
I called string.printable.encode('roman8') and the returned string
matches string.printable.
Are there any other tests you want me to do with this on HP-UX?
--
Richard Townsend
More information about the Python-list
mailing list