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. |
||
|---|---|---|
| .. | ||
| argf | ||
| array | ||
| basicobject | ||
| binding | ||
| builtin_constants | ||
| class | ||
| comparable | ||
| complex | ||
| data | ||
| dir | ||
| encoding | ||
| enumerable | ||
| enumerator | ||
| env | ||
| exception | ||
| false | ||
| fiber | ||
| file | ||
| filetest | ||
| float | ||
| gc | ||
| hash | ||
| integer | ||
| io | ||
| kernel | ||
| main | ||
| marshal | ||
| matchdata | ||
| math | ||
| method | ||
| module | ||
| mutex | ||
| nil | ||
| numeric | ||
| objectspace | ||
| proc | ||
| process | ||
| queue | ||
| random | ||
| range | ||
| rational | ||
| regexp | ||
| signal | ||
| sizedqueue | ||
| string | ||
| struct | ||
| symbol | ||
| systemexit | ||
| thread | ||
| threadgroup | ||
| time | ||
| tracepoint | ||
| true | ||
| unboundmethod | ||
| warning | ||