1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Benoit Daloze
a6c6eef04a Update to ruby/spec@d6921ef 2021-10-20 21:41:46 +02:00
Nobuyoshi Nakada
0871652f21
Not all environment variables can be convertible to IBM-437 2021-10-18 00:23:59 +09:00
Benoit Daloze
727c97da19 Update to ruby/spec@4ce9f41 2020-12-27 17:35:32 +01:00
Lars Kanis
ca76337a00
Windows: Read ENV names and values as UTF-8 encoded Strings (#3818)
* Windows: Read ENV names and values as UTF-8 encoded Strings

Implements issue #12650: fix https://bugs.ruby-lang.org/issues/12650

This also removes the special encoding for ENV['PATH'] and some
complexity in the code that is unnecessary now.

* Windows: Improve readablity of getenv() encoding

getenv() did use the expected codepage as an implicit parameter of the macro.
This is mis-leading since include/ruby/win32.h has a different definition.
Using the "cp" variable explicit (like the other function calls) makes it
more readable and consistent.

* Windows: Change external C-API macros getenv() and execv() to use UTF-8

They used to process and return strings with locale encoding,
but since all ruby-internal spawn and environment functions use UTF-8,
it makes sense to change the C-API equally.
2020-12-08 02:00:39 +09:00
Benoit Daloze
5aaa75e7c1 Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
Benoit Daloze
d80e44deec Update to ruby/spec@8d74d49 2019-06-27 21:02:36 +02:00
Benoit Daloze
79671ec57e Update to ruby/spec@7de852d 2019-04-28 23:20:11 +02:00
eregon
401b64c4e8 Update to ruby/spec@c1b568b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-04 15:09:32 +00:00
eregon
1d15d5f080 Move spec/rubyspec to spec/ruby for consistency
* Other ruby implementations use the spec/ruby directory.
  [Misc #13792] [ruby-core:82287]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 20:18:52 +00:00
Renamed from spec/rubyspec/core/env/shift_spec.rb (Browse further)