Discuss UTF-8 encoding scheme. How is it different from UTF-32 encoding scheme?
Answers
Answered by
1
Answer:
UTF-8 - "size optimized": best suited for Latin character based data (or ASCII), it takes only 1 byte per character but the size grows accordingly symbol variety (and in worst case could grow up to 6 bytes per character)
UTF-32 - "performance": allows using of simple algorithms as result of fixed size characters (4 bytes) but with memory disadvantage
Similar questions