Re: UTF-8 encoding vs UTF-32
- Posted by DerekParnell (admin) Aug 11, 2014
- 1427 views
Nevla said...
So, practically speaking, what library would I need to use in order to use UTF-32 internally? Or is it the case that I don't even need to use one while working internally? (because of the natural compatibility that you just mentioned above)
Depends. If you're serious about doing Unicode right then you'd need a library to just about anything with strings, including sorting, comparing, case conversions, searching, etc ... its just that using UTF-32 internally makes some of this easier when working with sub-strings.
When conversion between UTF encodings, for example getting a UTF-8 text file into a UTF-32 sequence or sending a UTF-32 sequence to a UI field for display, then you'll need to use library routines.