mirror of
https://github.com/frej/fast-export.git
synced 2025-11-03 17:55:49 +01:00
In some locales the default encoding is ascii in which case subprocess.check_output() will fail if it is given a non-ascii ref as one of the arguments. By forcing the ref to be utf8 we will avoid a crash while still behaving correctly when the default encoding is utf8. The credits for this fix go to Nikita Bazhinov for discovering the fix and Chris J Billington for explaining it. Co-Authored-By: Nikita Bazhinov <nbazhinov@syntellect.ru> Co-Authored-By: Chris J Billington <chrisjbillington@gmail.com>
4.4 KiB
Executable File
4.4 KiB
Executable File