Doesn't seem to be fixed in 8.04 Hardy. Instead, Hardy has only older version of python2.5 (2.5.2-2ubuntu4.1). Will this be fixed on Hardy at all?
When using Beautiful Soup to read web page in Finnish, I get: "UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 5: ordinal not in range(128)"
My /usr/lib/python2.5/sgmllib.py incorrectlly compares to 255 (and not the correct 127):
def handle_charref(self, name):
# ...
if not 0 <= n <= 255:
return
I'm using Ubuntu 8.04.2 hardy (cat /etc/lsb-release) and python2.5 2.5.2-2ubuntu4.1 (dpkg --list python2.5).
Doesn't seem to be fixed in 8.04 Hardy. Instead, Hardy has only older version of python2.5 (2.5.2-2ubuntu4.1). Will this be fixed on Hardy at all?
When using Beautiful Soup to read web page in Finnish, I get: "UnicodeEncodeE rror: 'ascii' codec can't encode character u'\xb7' in position 5: ordinal not in range(128)"
My /usr/lib/ python2. 5/sgmllib. py incorrectlly compares to 255 (and not the correct 127):
def handle_ charref( self, name):
# ...
if not 0 <= n <= 255:
return
I'm using Ubuntu 8.04.2 hardy (cat /etc/lsb-release) and python2.5 2.5.2-2ubuntu4.1 (dpkg --list python2.5).