diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-08-09 15:59:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-09 15:59:09 +0200 |
commit | 60e0aae89cbf29f88f110376f911777aac70e8a7 (patch) | |
tree | 8e36fa3257f9f818835f30f7197cf51f9db88fec /m4 | |
parent | e1b8bace8cf26fb7aa32614241917832b4225b44 (diff) | |
download | guix-60e0aae89cbf29f88f110376f911777aac70e8a7.tar.gz guix-60e0aae89cbf29f88f110376f911777aac70e8a7.zip |
channels: Consider news files as UTF-8-encoded by default.
Partly fixes <https://issues.guix.gnu.org/57039>.
Reported by Pierre-Henry Fröhring <contact@phfrohring.com>.
Previously, news file would be read using the current locale encoding.
This could lead to a test failure in 'tests/channels.scm' (in a test
that expects some Unicode-capable encoding) in case tests were run in a
non-Unicode locale.
* guix/channels.scm (channel-news-for-commit): Make port for NEWS-FILE
UTF-8 by default.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions