Test files › Documents › utf16be.txt
Sample TXT file
UTF-16 big-endian with BOM.
↓ Download utf16be.txt| Filename | utf16be.txt |
| Format | TXT |
| Size | 162 bytes (162 bytes) |
| MIME type | text/plain; charset=utf-8 |
| SHA-256 | f90d1333c7efc583acff83947170dba1e663066c672dd21ae0445edfcd3216d8 |
What this file catchesCode that hardcodes little-endian after only ever testing on x86.
Download & verify
curl -fsSL -o "utf16be.txt" "https://files.hexaqa.com/text/utf16be.txt"
curl -fsSL "https://files.hexaqa.com/text/utf16be.txt" | sha256sum
# expect: f90d1333c7efc583acff83947170dba1e663066c672dd21ae0445edfcd3216d8