mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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. |
||
|---|---|---|
| .. | ||
| shared | ||
| assoc_spec.rb | ||
| clear_spec.rb | ||
| delete_if_spec.rb | ||
| delete_spec.rb | ||
| each_key_spec.rb | ||
| each_pair_spec.rb | ||
| each_spec.rb | ||
| each_value_spec.rb | ||
| element_reference_spec.rb | ||
| element_set_spec.rb | ||
| empty_spec.rb | ||
| fetch_spec.rb | ||
| filter_spec.rb | ||
| has_key_spec.rb | ||
| has_value_spec.rb | ||
| include_spec.rb | ||
| index_spec.rb | ||
| indexes_spec.rb | ||
| indices_spec.rb | ||
| inspect_spec.rb | ||
| invert_spec.rb | ||
| keep_if_spec.rb | ||
| key_spec.rb | ||
| keys_spec.rb | ||
| length_spec.rb | ||
| member_spec.rb | ||
| merge_spec.rb | ||
| rassoc_spec.rb | ||
| rehash_spec.rb | ||
| reject_spec.rb | ||
| replace_spec.rb | ||
| select_spec.rb | ||
| shift_spec.rb | ||
| size_spec.rb | ||
| slice_spec.rb | ||
| spec_helper.rb | ||
| store_spec.rb | ||
| to_a_spec.rb | ||
| to_h_spec.rb | ||
| to_hash_spec.rb | ||
| to_s_spec.rb | ||
| update_spec.rb | ||
| value_spec.rb | ||
| values_at_spec.rb | ||
| values_spec.rb | ||