Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Bytes are 8 bits - UTF-8 gets most of ASCII in 1 byte (8 bits) and many (most?) other language glyphs can be encoded in 2 bytes or so (16 bits).

A 16 byte field can hold up to 16 ASCII characters, or perhaps 8 CJK glyphs that might encode a short kanji or hanzi password.



"A 16 byte field can hold up to 16 ASCII characters, or perhaps 8 CJK glyphs that might encode a short kanji or hanzi password."

Assuming that you are using legacy encodings, of course.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: