Open john-parton opened 8 years ago
Python opens files as bytes by default. It would be nice if TextLoader.preprocess read the file and encoded it as unicode.
TextLoader.preprocess
I'll submit a PR.
Thanks.
I got unicode input files working, but sample.py wasn't unicode aware. I'll submit a new PR with a proposed fix.
sample.py
Python opens files as bytes by default. It would be nice if
TextLoader.preprocess
read the file and encoded it as unicode.I'll submit a PR.
Thanks.