diff options
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1340,7 +1340,7 @@ rb_str_init(int argc, VALUE *argv, VALUE str) int n; if (!keyword_ids[0]) - keyword_ids[0] = rb_intern("encoding"); + keyword_ids[0] = rb_id_encoding(); n = rb_scan_args(argc, argv, "01:", &orig, &opt); if (argc > 0 && n == 1) |