Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Intermittent encoding issue in Environment.compile_templates on windows #889
When I tried to provide minimal example, issue didn't trigger (files got written as 'utf8'). Copying all templates from flask project didn't also trigger issue. Then within my flask project issue is triggered, but I didn't notice any changes to encoding there.
In any case used encoding doesn't seem to be deterministic.
Compiled templates are written to disk using correct encoding (utf8 in my case).
Encoding of compiled templates depends on what