diff options
-rw-r--r-- | encoding.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1543,7 +1543,14 @@ enc_set_default_encoding(struct default_encoding *def, VALUE encoding, const cha if (NIL_P(encoding)) { def->index = -1; def->enc = 0; - st_insert(enc_table->names, (st_data_t)strdup(name), (st_data_t)UNSPECIFIED_ENCODING); } else { |