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.getpreferredencoding())'
> UTF-8
>
> show?


Show: cp1252

PS D:\Documents\HomeBroker> py .\main.py
['O Deputado Jovem', 'Bob Swaget', 'Baldrick', 'Inigo the brave',
'KeplerBR', 'Lastemp3ror', 'Amethyst', 'wildee14', 'Le
 Monade']
Traceback (most recent call last):
  File ".\main.py", line 11, in <module>
    search(my_u[0])
  File ".\main.py", line 8, in search
    search(current)
  File ".\main.py", line 5, in search
    print([user.persona_name for user in x.get_friend_list()])
  File "C:\Development\Languages\Python34\lib\encodings\cp437.py", line 19,
in encode
    return codecs.charmap_encode(input,self.errors,encoding_map)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u262d' in
position 322: character maps to <undefined>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to