Project

General

Profile

« Previous | Next » 

Revision f9d5843f

Added by nobu (Nobuyoshi Nakada) over 8 years ago

hash.c: refactor env_enc_str_new

  • hash.c (env_enc_str_new): convert to the expected encoding
    without intermediate string, and set econv flags if default
    internal encoding is set too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e