Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Some utf-8 <-> unicode problems #15

Closed
Jajcus opened this issue May 3, 2011 · 2 comments
Closed

Some utf-8 <-> unicode problems #15

Jajcus opened this issue May 3, 2011 · 2 comments

Comments

@Jajcus
Copy link
Owner

Jajcus commented May 3, 2011

  • A few classes in jabber.dataforms require unicode arguments (no check done, only documentation), but fail to convert them to utf-8 encoded strings before passing to libxml2 methods. This causes UnicodeEncodeError exceptions.
  • stanza.set_content() and stanza.add_content() don't accept unicode objects as their arguments

The following patch fixes these issues:
http://kolos.math.uni.lodz.pl/~grzywacz/pyxmpp_unicode.patch

@Jajcus
Copy link
Owner Author

Jajcus commented May 3, 2011

--jajcus

@Jajcus
Copy link
Owner Author

Jajcus commented May 3, 2011

(In [709]) - unicode handling improvments by 'grzyw' (closes #15)

--jajcus

@Jajcus Jajcus closed this as completed May 3, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant