[ruby-cvs:71952] nobu:r64860 (trunk): fallback env encoding to ASCII-8BIT

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Sep 27 02:24:00 JST 2018


nobu	2018-09-27 02:24:00 +0900 (Thu, 27 Sep 2018)

  New Revision: 64860

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64860

  Log:
    fallback env encoding to ASCII-8BIT
    
    * hash.c (env_enc_str_new): as no locale/filesystem encoding is
      available in miniruby on Windows, fallback the encoding to
      ASCII-8BIT so it is valid encoding when the conversion failed.
      [ruby-core:89177] [Bug #15164]

  Added files:
    trunk/bootstraptest/test_env.rb
  Modified files:
    trunk/hash.c


More information about the ruby-cvs mailing list