mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-28 16:11:54 -05:00
compare now prints its report as UTF-8 with LF line ends on every platform, as fingerprint already did. Redirected output on Windows uses the ANSI code page, so the report was not UTF-8 there, and a slice name outside that code page made compare fail as if its input were bad. Standard output is switched only when something is written to it, so an output file and an error message still work without one. Two tests could not do their job. One created a file name with a carriage return, which Windows refuses; it now fakes the folder listing. The standard output test passed on Linux even without the code it covers; it now prints a name outside ASCII to a Latin-1 standard output. The docstrings no longer say the config block differs between two runs of the same sources: it changes when an option is added. None of this has run on Windows: CI runs these tests on Linux only.