Juan Christian wrote:
> On Thu, Sep 11, 2014 at 5:23 PM, Peter Otten <__pete...@web.de> wrote:
>>
>>
>> You are getting an *encoding* error, so this may be triggered when you
>> are trying to print. Can you post the traceback?
>>
>> Also, what is your OS and what does
>>
>> $ python3 -c'import loc
On Thu, Sep 11, 2014 at 5:23 PM, Peter Otten <__pete...@web.de> wrote:
>
>
> You are getting an *encoding* error, so this may be triggered when you are
> trying to print. Can you post the traceback?
>
> Also, what is your OS and what does
>
> $ python3 -c'import locale; print(locale.getpreferredenc
Juan Christian wrote:
> On Thu, Sep 11, 2014 at 4:39 PM, Juan Christian
> wrote:
>>
>> Using 3.4.1
>>
>> I did try:
>>
>> self.persona_name = unicode(personaname)
>> self.persona_name = personaname.decode("utf-8")
>>
>> But didn't work!
>>
>
>
> Some of the chars that brakes the program:
>
> \
On Thu, Sep 11, 2014 at 4:39 PM, Juan Christian
wrote:
>
> Using 3.4.1
>
> I did try:
>
> self.persona_name = unicode(personaname)
> self.persona_name = personaname.decode("utf-8")
>
> But didn't work!
>
Some of the chars that brakes the program:
\u0183
\u2020
\u0361
\u0649
And many others cra
Forget to tell, sorry. I'm using Python 3.4.1
On Thu, Sep 11, 2014 at 3:53 PM, Sebastian Silva
wrote:
> Hi,
> Python 2 suffers from these kinds of issues frequently.
>
> However Python 3 does not.
>
> Now, to deal with different encodings in Python 2 you need to cast to
> unicode type, and then
I'm iterating through Steam users and friend lists.
So, my program was working good, but then I got some UnicodeEncodeError
randomly, I didn't know where was the problem, then I was checking the
names that I got from the API by hand, and then I saw users with ™, ︻デ═一,
︻芫, º³® and tons of other