diff options
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode.c b/transcode.c index a4cf6b3492..95e4ef3def 100644 --- a/transcode.c +++ b/transcode.c @@ -357,7 +357,7 @@ str_transcode(int argc, VALUE *argv, VALUE *self) } /* set encoding */ if (!to_enc) { - to_encidx = rb_enc_replicate(to_e, rb_ascii_encoding()); + to_encidx = rb_enc_replicate(to_e, rb_ascii8bit_encoding()); } *self = dest; |