diff options
| author | Dariqq <dariqq@posteo.net> | 2026-06-29 07:44:51 +0000 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-08-26 11:29:21 +0900 |
| commit | ba406fd9b0c4383e485b391474992981c1da9eee (patch) | |
| tree | 8a035149df41b7a88a44481c820f3a858fc15ad9 | |
| parent | e963b1f5ebb52824b27ac2b6bad290c99eaca304 (diff) | |
build: Set default-port-encoding and conversion-strategy for converting xrefs.
* build-aux/convert-xref.scm: Set encoding to UTF-8 and error on conversion failure.
Change-Id: I871396329d7d36225f64af150dccebab13277bfb
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
| -rw-r--r-- | build-aux/convert-xref.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build-aux/convert-xref.scm b/build-aux/convert-xref.scm index 47c8828857e..d87f6bd665b 100644 --- a/build-aux/convert-xref.scm +++ b/build-aux/convert-xref.scm | |||
| @@ -23,4 +23,6 @@ | |||
| 23 | 23 | ||
| 24 | (match (command-line) | 24 | (match (command-line) |
| 25 | ((program texi pofile) | 25 | ((program texi pofile) |
| 26 | (translate-cross-references texi pofile))) | 26 | (with-fluids ((%default-port-encoding "UTF-8") |
| 27 | (%default-port-conversion-strategy 'error)) | ||
| 28 | (translate-cross-references texi pofile)))) | ||
