diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2024-11-07 17:22:10 +0100 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-11-11 09:40:11 +0900 |
| commit | 1b6a26e23a43564de2e221f1b123e749bd3403d6 (patch) | |
| tree | 6d87dbd4597d567739c7ab7f69670f5e1db55ca6 /include/ruby/encoding.h | |
| parent | 58317328b6b2bdb2f76a565e95af6c37c727881a (diff) | |
[ruby/json] JSON.load_file: explictly load the file as UTF-8
Fix: https://github.com/ruby/json/issues/697
This way even if `Encoding.default_external` is set to a weird value
the document will be parsed just fine.
https://github.com/ruby/json/commit/3a8505a8fa
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions
