4 ms·
it just feels like putting lipstick on a pig, use binary to solve the problem of bloated utf8 files.
by gabrielcsapo 9y ago
it just feels like putting lipstick on a pig, use binary to solve the problem of bloated utf8 files.
- Gaelan 9y agoutf8 isn’t “bloated.” A utf8 file with just ASCII characters (every character you’ll see in JS, with the exception of foreign language strings) is identical to the ASCII encoding. You may be thinking of UTF16, which does use two bytes for every character.