Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 Symbols not supported in search query #8

Open
snipem opened this issue Aug 18, 2016 · 0 comments
Open

UTF-8 Symbols not supported in search query #8

snipem opened this issue Aug 18, 2016 · 0 comments
Assignees

Comments

@snipem
Copy link
Owner

snipem commented Aug 18, 2016

matze@beatle:~ $ psncli -q ABZÛ
Traceback (most recent call last):
  File "/home/matze/co/git/bin/psncli", line 92, in <module>
    main()
  File "/home/matze/co/git/bin/psncli", line 70, in main
    printString = searchForItemsByNameAndFormatOutput(args.query,args.store)
  File "/home/matze/co/git/bin/psncli", line 59, in searchForItemsByNameAndFormatOutput
    items = psn.searchForItemsByName(name, store)
  File "/home/matze/workspace/PSNDeals/playstation-price-drop-alert/psnpricealert/psn/psn.py", line 171, in searchForItemsByName
    encodedName = quote(name)
  File "/usr/lib/python3.5/urllib/parse.py", line 706, in quote
    string = string.encode(encoding, errors)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc3' in position 3: surrogates not allowed
@snipem snipem self-assigned this Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant