Forcing Utf-8 Over Cp1252 (python3)
I've written some code that makes use of the Biopython Entrez wrapper. Code was working fine on my previous Win10 laptop (Python 3.5.1), but I've just ported the code to a new Win1
Solution 1:
Use the io
module for reading if you're using Python 3.x (https://docs.python.org/2/library/io.html#io.open).
By default, it will use the encoding specified on its running platform. You can also specify your own encoding as explained in the docs.
Post a Comment for "Forcing Utf-8 Over Cp1252 (python3)"