diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-04-07 21:43:38 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-04-07 21:43:38 +0300 |
commit | 8ae4556cd755b7902afba7ab89313d5aa8801173 (patch) | |
tree | 2bb7041df050d8744d7fa2517ac0aca460ea7a9b /main.c | |
parent | 12a5a583e98ba7a6886407df6df74a1dbb65ae64 (diff) | |
download | egawk-8ae4556cd755b7902afba7ab89313d5aa8801173.tar.gz egawk-8ae4556cd755b7902afba7ab89313d5aa8801173.tar.bz2 egawk-8ae4556cd755b7902afba7ab89313d5aa8801173.zip |
Single-byte locales use locale settings for ignoring case.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -320,6 +320,10 @@ main(int argc, char **argv) /* init the cache for checking bytes if they're characters */ init_btowc_cache(); + /* set up the single byte case table */ + if (gawk_mb_cur_max == 1) + load_casetable(); + if (do_nostalgia) nostalgia(); |