diff options
author | Christian Persch <chpe@src.gnome.org> | 2019-11-17 21:58:09 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2019-11-17 21:58:09 +0100 |
commit | 9e4fbae2cabcd937ac4d1a984ba844d24b44b83f (patch) | |
tree | 916c8edb04fbbb1d12d52adc109a571ef7dbd4bd /meson_options.txt | |
parent | 83cbe9998aa1c2babbf32eed0b5fa3909360a83b (diff) | |
download | vte-9e4fbae2cabcd937ac4d1a984ba844d24b44b83f.tar.gz |
lib: Use ICU for legacy charset support
Instead of converting the whole chunk of input from the input
charset to UTF-8 in one go, we need a decoder that consumes the
input one byte at a time. Since the iconv API is not particularly
suited to this (or, really, any) task, switch to using ICU for this.
Add functions to get the list of supported legacy charsets, and
to check whether a particular string is a supported charset.
Fixes https://gitlab.gnome.org/GNOME/vte/issues/40
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt index bb59bc67..47d54b78 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -79,10 +79,10 @@ option( ) option( - 'iconv', + 'icu', type: 'boolean', value: true, - description: 'Enable legacy charset support using iconv', + description: 'Enable legacy charset support using ICU', ) option( |