diff options
| author | Jefferson González <jgmdev@gmail.com> | 2024-06-28 06:58:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 06:58:45 -0400 |
| commit | ecd4a41681ee1149141cab17e3d3a47934c78df3 (patch) | |
| tree | 78aeb5815e3335b9e5324c7651bce679a71aacd7 /data/core/utf8string.lua | |
| parent | a6b7b5d4e29c866a107557837f76f85a458c14ef (diff) | |
| download | pragtical-ecd4a41681ee1149141cab17e3d3a47934c78df3.tar.gz pragtical-ecd4a41681ee1149141cab17e3d3a47934c78df3.zip | |
If encoding detect fails check if UTF-16/32 LE/BE (#115)
In some cases the encoding detection fails for UTF-16/32 files without
a bom. For those cases we patched `encoding.detect` to perform a strict
conversion test from the mentioned encodings and if it succeeds return it.
Diffstat (limited to 'data/core/utf8string.lua')
0 files changed, 0 insertions, 0 deletions
