[fpc-devel] Memory consumed by strings

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Nov 23 13:43:29 CET 2008


On 23 Nov 2008, at 13:31, Daniël Mantione wrote:

> For an IDE, this is a little bit more complicated. I.e. searching  
> for a ç in a source file needs to find both the composed and the  
> decomposed variant, and in the case of UTF-8, this character can be  
> encoded in 1, 2, 3 or 4 bytes which all need to be found. This is  
> where UTF-16 and UTF-32 start to make sense.

Characters can also be decomposed in UTF-16 and in UTF-32 (for the  
same reasons as in UTF-8).


Jonas


More information about the fpc-devel mailing list