UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 6074: character maps to <undefined>
See original GitHub issueHelp me please. What am I doing wrong?
from pyowm import OWM
owm = OWM('xxxxxxxx')
reg = owm.city_id_registry()
london_loc = reg.ids_for('London', 'GB')
print(london_loc)
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
'charmap' codec can't decode byte X in position Y: character ...
If the file contains characters of values not defined in this codepage (like 0x90) we get UnicodeDecodeError . Sometimes we don't know the...
Read more >'charmap' codec can't decode byte 0x81 in position X ... - GitHub
... UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 29343726: character maps to <undefined>. I fixed it by adding the parameter ...
Read more >'charmap' codec can't decode byte 0x9d - YouTube
Solved - UnicodeDecodeError : ' charmap ' codec can't decode byte 0x9d. Watch later. Share. Copy link. Info. Shopping. Tap to unmute.
Read more >'charmap' codec can't decode byte 0x9d in position ... - YouTube
ÕzbekchaXatolik: UnicodeDecodeError : ' charmap ' codec can't decode byte 0x9d in position 2045: character maps to undefined #python #progra...
Read more >'charmap' codec can't decode byte 0xX in position X: character ...
UnicodeDecodeError : ' charmap ' codec can't decode byte 0xX in position X: character maps to undefined, when trying to #open() and print()...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @mmagnuski and @RussianButman I’ve been able to test the branch on Windows 10 with Python3.5 and it seems to work fine (I manage to get the correct output for the
ids_for()
call when running mmagnusky’s code snippet)Can you please confirm that you also don’t get exceptions?
Thanks @mmagnuski !
Fixed with #213