UTF8 Encoding is broken ?
Björn Eschrich <[email protected]> Sun, 15 May 2005 22:56:13 +0200
| Newsgroups | gmane.comp.ldap.luma.i18n |
|---|---|
| Organization | IS4IT GmbH |
| Message-ID | <[email protected]> |
--nextPart4002176.guJL6DBk13
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi Members,
on some posixAccounts i become an error with following text,
any idea ?:
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 1:=20
unexpected code byte
Traceback (most recent call last):
File "/opt/luma/lib/luma/base/utils/gui/BrowserWidget.py", line 129, in=20
itemClicked
self.emit(PYSIGNAL("ldap_result"), (deepcopy(result),))
File "/opt/luma/lib/luma/base/utils/gui/AdvancedObjectWidget.py", line 13=
6,=20
in initView
self.displayValues()
File "/opt/luma/lib/luma/base/utils/gui/AdvancedObjectWidget.py", line 17=
3,=20
in displayValues
tmpList.append(self.createAttributeString())
File "/opt/luma/lib/luma/base/utils/gui/AdvancedObjectWidget.py", line 23=
3,=20
in createAttributeString
valueList =3D self.ldapDataObject.getAttributeValueList(x)
File "/opt/luma/lib/luma/base/backend/SmartDataObject.py", line 176, in=20
getAttributeValueList
tmpList.append(x.decode('utf-8'))
File "/usr/lib64/python2.4/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 1:=20
unexpected code byte
=2D-=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
-^- | B. Eschrich, Software Engineer
(O.O) | Mobile: +49 (0) 170 / 9615981
=2Dooo-\-/-ooo- | Office: +49 (0) 89 / 82020068
| eMail : [email protected]
| Home : http://www.is4it.de
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
+++++++++++++++ Don't shit where you eat +++++++++++++
PGP:0AB4 FC71 3EEC DE2F 2F43 5F32 EF13 5064 694E E485
--nextPart4002176.guJL6DBk13
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iQCVAwUAQoe3ce8TUGRpTuSFAQJGZwP+LvlOomJPQ4y61u0jxFR/cF+y233G42vY
ujeoV/U/k6EAv5fFAgWoaeACVdWwI8U7C5jj41M1/ocbiUPWy4WtwUZQqgKL+72u
tWeMxhEhvleAdv7m3Am0baaLJ3EQzHmjs/DN7xUrv3emSVDCtk75KYDfhkfh+3tX
XHw79PGCjI0=
=iXCB
-----END PGP SIGNATURE-----
--nextPart4002176.guJL6DBk13--
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click