summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2025-03-16 18:46:04 +0900
committernagachika <nagachika@ruby-lang.org>2025-03-16 18:46:29 +0900
commitd213eb7f453fa0bd6c476826c450d9726c3c8b15 (patch)
tree152ff5517804d621853cb3d3fe852c42643cf94f /include/ruby/encoding.h
parent726bff43b462d2a1b0bc93299cf031202f7fe7a1 (diff)
merge revision(s) 3f07bc76ff6a11232d9f18e5eaa31835c195e8f0, 34098b669c0cbc024cd08e686891f1dfe0a10aaf: [Backport #21144]
[Bug #21144] Win32: Use Windows time zone ID if TZ is not set If the TZ environment variable is not set, the time zone names retrieved from the system are localized for UI display and may vary across editions and language packs for the same time zone. Use the time zone IDs that are invariant across environments instead. [Bug #21144] Win32: Convert the time zone name to the current locale The Windows time zone IDs provided by Microsoft as of 24H1 are ASCII only all, but the API itself is not impossible to set non-ASCII key name. Prefer the current locale encoding for now until we move to UTF-8 including environment variables and command line arguments.
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions