Summary
The README states "A Unix-like environment is also required for now." However, SCOWLv2 builds successfully on Windows using Python's UTF-8 mode.
Steps to reproduce
- Clone the repo on Windows
- Ensure Python 3.7+ is installed
- Run:
python -X utf8 combine.py create-db scowl.db
The -X utf8 flag forces Python to use UTF-8 for all I/O, which resolves the encoding issue with accented characters (e.g., abbé in scowl-pre.txt).
Environment
- Windows 11
- Python 3.13.5
- No WSL or Unix-like environment required
Suggestion
Consider updating the README to note that Windows is supported with the -X utf8 flag, or that PYTHONUTF8=1 can be set as an environment variable. This may help other Windows users who encounter the encoding error.
Summary
The README states "A Unix-like environment is also required for now." However, SCOWLv2 builds successfully on Windows using Python's UTF-8 mode.
Steps to reproduce
python -X utf8 combine.py create-db scowl.dbThe
-X utf8flag forces Python to use UTF-8 for all I/O, which resolves the encoding issue with accented characters (e.g.,abbéinscowl-pre.txt).Environment
Suggestion
Consider updating the README to note that Windows is supported with the
-X utf8flag, or thatPYTHONUTF8=1can be set as an environment variable. This may help other Windows users who encounter the encoding error.