Especial Characters

1 view
Skip to first unread message

Andrés Vargas

unread,
Aug 20, 2010, 11:34:06 AM8/20/10
to pymt...@googlegroups.com
Hi,

I have problems with the special characters like ñ, á, é, í, ó, ú . Do you know about that ? the error is:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 95: ordinal not in range(128)

Thanks in advance, Andrés

Mathieu Virbel

unread,
Aug 20, 2010, 1:27:57 PM8/20/10
to pymt...@googlegroups.com
When you use thses chars, use unicode string, not normal string.

Bad: "tété"
Good: u"tété"

The u indicate unicode string.

2010/8/20 Andrés Vargas <andn...@gmail.com>:

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

Reply all
Reply to author
Forward
0 new messages