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

tunein example UnicodeEncodeError #293

Closed
ulleberg opened this issue Feb 8, 2015 · 1 comment
Closed

tunein example UnicodeEncodeError #293

ulleberg opened this issue Feb 8, 2015 · 1 comment
Milestone

Comments

@ulleberg
Copy link

ulleberg commented Feb 8, 2015

Hi

I get an UnicodeEncodeError when running tunein.py, I'm using Python 2.7.9

I believe it's because my 4th station is named "NRK P1 Trønderlag" [ø, is the issue I believe]

C:>python Sono_tunein.py 10.0.1.20 4
returned 1 of a possible 10 radio stations:
Traceback (most recent call last):
File "Sono_tunein.py", line 51, in
print station['title']
File "C:\Python27\lib\encodings\cp437.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\xf8' in position 9: character maps to <
undefined>

thanks

@lawrenceakka
Copy link
Contributor

Takk, @ulleberg

@stefankoegl stefankoegl added this to the 0.11 milestone Feb 22, 2015
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

3 participants