"Jerry Hill" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Mon, Jul 14, 2008 at 12:40 PM, Tim Cook <[EMAIL PROTECTED]>
wrote:
if I say units=unicode("°"). I get
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0:
ordinal not in range(128)
If I try x=unico
On Mon, Jul 14, 2008 at 12:40 PM, Tim Cook <[EMAIL PROTECTED]> wrote:
> if I say units=unicode("°"). I get
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0:
> ordinal not in range(128)
>
> If I try x=unicode.decode(x,'utf-8'). I get
> TypeError: descriptor 'decode' requires
Hi All,
I'm not clear on how to use the unicode module.
I need to be able to use certain characters such as the degree symbol
and the mu symbol, i.e.:
units = <"°">
if I say units=unicode("°")