Skip to content

decode os-release as UTF-8

The os-release file is supposed to be encoded in UTF-8. It was read as Latin-1, which lead to mojibake when a field contains non-ascii characters: for example, this happens on NixOS 24.11, which is codenamed "vicuña". Decode it properly as UTF-8 so that this does not happen.

Merge request reports