Re: Issue 13 in django-notification: Unicode problem with saving notice to db in send function. Database truncates non english characters.

2 views
Skip to first unread message

codesite...@google.com

unread,
Apr 30, 2010, 9:26:51 AM4/30/10
to pinax-...@googlegroups.com

Comment #1 on issue 13 by thanosfloratos: Unicode problem with saving
notice to db in send function. Database truncates non english characters.
http://code.google.com/p/django-notification/issues/detail?id=13

Patch definitely is a quick fix. Solved issue for greek characters.

Exception Value: ('ascii', u' \nYou have sent the message <a
href="/user/messages/view/57/">\u03b7\u03b7</a> to choco.\n', 62,
64, 'ordinal not in
range(128)')

The string that could not be encoded/decoded was: 57/">ηη</a>

"Maybe it because of using old django version (some july revision)." +1

--
You received this message because you are subscribed to the Google Groups "pinax-updates" group.
To post to this group, send email to pinax-...@googlegroups.com.
To unsubscribe from this group, send email to pinax-update...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pinax-updates?hl=en.

Reply all
Reply to author
Forward
0 new messages