You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depends on what platform you are at. I believe it will choose the platform default. Usually that's utf-8, but if it's not I think you could run into problems.
xopen wraps all binary steams in a TextIOWrapper when the mode is "r", so I guess it should be doable to pass through the encoding argument.
We can do this with *args, **kwargs so any arguments get passed trough, including encoding.
With the regular
open()
function, I typically specify the encoding, e.g.,Looks like with xopen it's not possible? Would that cause problems when reading UTF-8 encoded text files?
The text was updated successfully, but these errors were encountered: