diff options
author | pacien | 2022-10-30 01:05:45 +0200 |
---|---|---|
committer | pacien | 2022-10-30 01:10:54 +0200 |
commit | 0fddc74a3f9add47841124b4d77b097f4646d14f (patch) | |
tree | e0e841d9cfc101a1247e9526f7cf65d50d4ed4c2 /changelog.md | |
parent | f864eeca506331c1dee2cd3f5f0df4fe806f303a (diff) | |
download | ldgallery-0fddc74a3f9add47841124b4d77b097f4646d14f.tar.gz |
compiler: fix support for non-utf8 terminals
The compiler echoes the names of the files being processed.
Those file names may contain UTF-8 characters.
However, some consoles may not support those.
This is notably the case of the Windows CMD or on Linux with the legacy
C locale. This caused the following error:
ldgallery: <stdout>: commitBuffer: invalid argument (invalid character)
This patch adds automatic transliteration when a non-UTF8 terminal is
detected, so that neither the compiler or the terminal crash due to UTF8
characters.
GitHub: closes #341
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 0cf3194..9afc27a 100644 --- a/changelog.md +++ b/changelog.md | |||
@@ -10,6 +10,7 @@ release. Releases are tracked and referred to using git tags. | |||
10 | - Bug fixes: | 10 | - Bug fixes: |
11 | - compiler: fix detection of dimensions of EXIF-rotated pictures. | 11 | - compiler: fix detection of dimensions of EXIF-rotated pictures. |
12 | Rebuild the gallery with `--rebuild-all` to purge erroneous cached data. | 12 | Rebuild the gallery with `--rebuild-all` to purge erroneous cached data. |
13 | - compiler: fix support for non-UTF8 terminals. | ||
13 | - viewer: fix theme quirks (line spacing, icon colours). | 14 | - viewer: fix theme quirks (line spacing, icon colours). |
14 | - viewer: fix ghost keyboard hints when the search panel is closed. | 15 | - viewer: fix ghost keyboard hints when the search panel is closed. |
15 | 16 | ||