V4RB, Jon, project /// More explanation.

Erik Mueller-Harder valentina-list at vermontsoftworks.com
Wed Sep 15 14:32:11 CDT 2004


On Sep 15, 2004, at 14:19, jda wrote:

> It seems for UTF-16 the 50 means characters, but for UTF-8 it means 
> bytes.
>
> It should be the same for all encodings -- having it differ between 
> encodings is *very* confusing and will certainly lead to many 
> misunderstandings.
>
> I suggest that 50 always means bytes, and if you want to store 50 
> UTF-16 characters that you declare a VString of [100]

Agreed; that would be much more consistent.

-- Erik



More information about the Valentina-beta mailing list