How many bites does it take to represent one carector?
Answers
Answered by
0
Characters can have 1 to 6 bytes(some of them may be not required right now). UTF-32 each charactershave 4 bytes a characters. UTF-16 uses 16 bits for each character and itrepresents only part of Unicodecharacters called BMP (for all practical purposes its enough). Java uses this encoding in its strings.
Similar questions