From 03699d57e43b6a3ff3d528f51c190a27c5a4d82d Mon Sep 17 00:00:00 2001 From: Jaap Joris Vens Date: Tue, 7 Feb 2023 09:57:58 +0100 Subject: [PATCH] Update README Closes #68 Closes #72 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 08a7ff1..e6daacd 100644 --- a/README.md +++ b/README.md @@ -54,10 +54,20 @@ This is what it will look like after processing by DjHTML: ## Installation +DjHTML is compatible with all operating systems supported by Python. Install DjHTML with the following command: $ pip install djhtml +Note that [Windows still uses legacy code pages for the system +encoding](https://docs.python.org/3/using/windows.html#win-utf8-mode). +It is highly advised to set the environment variable `PYTHONUTF8` to +`1` to avoid issues with indenting UTF-8 files. You can do so with the +[setx](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/setx) +command: + + C:\> setx /m PYTHONUTF8 1 + ## Usage