veekun_pokedex/pokedex
skylar d17a772b4f Resolve some Python 3 encoding issues on Windows (#244)
When you open a file in Python 3, it defaults to using the system charset to encode the file, which is typically UTF-8 on linux systems (good) but Windows-1251 on Windows (bad).

We need to add explicit encoding=utf-8 arguments to open() calls when we open CSV files for reading or writing. To complicate matters, the csv module works only with byte strings in Python 2, and only with unicode strings in Python 3, so we can't just blindly use `io.open` everywhere.
2018-08-22 23:01:58 -07:00
..
cli Stub out a CLI search interface, which can also work with JSON and strings 2016-02-02 10:13:38 -08:00
data/csv Fix TMs 93-100 refer to the wrong item in OR/AS 2018-04-24 23:02:17 -07:00
db Resolve some Python 3 encoding issues on Windows (#244) 2018-08-22 23:01:58 -07:00
doc Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
struct Unbreak SaveFilePokemon slightly 2018-06-26 23:53:59 -07:00
tests Squash a bunch of "non-unicode bind param" warnings 2018-03-30 12:14:55 -07:00
util Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
__init__.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
__main__.py Make the library work with python -m. 2013-08-09 13:00:37 -07:00
compatibility.py Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
defaults.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
formulae.py Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
lookup.py Fix references to "ja" (which is now ja-Hrkt) 2017-06-18 00:15:05 -07:00
main.py Allow common CLI arguments to work both before and after the subcommand 2016-02-02 11:01:45 -08:00
roomaji.py Compat with Python 3.3+ 2015-10-05 08:12:23 -07:00
search.py Stub out a CLI search interface, which can also work with JSON and strings 2016-02-02 10:13:38 -08:00