diff options
author | Jean Boussier <[email protected]> | 2022-07-13 11:54:08 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2022-07-19 08:48:56 +0200 |
commit | d084585f01b57727a5778f2f6723b89c6d98a9d4 () | |
tree | 8358220e50e538c08a89f69544ae0fae0918bee2 /localeinit.c | |
parent | 85ea46730deff70172a9f50172f0011a7401f371 (diff) |
Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BIT
Otherwise it's way too easy to confuse it with US_ASCII.
Notes: Merged: https://.com/ruby/ruby/pull/6127
-rw-r--r-- | localeinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ Init_enc_set_filesystem_encoding(void) /* for debugging */ CP_FORMAT(cp, codepage); idx = rb_enc_find_index(cp); - if (idx < 0) idx = ENCINDEX_ASCII; #elif defined __CYGWIN__ idx = ENCINDEX_UTF_8; #else |