[wx-dev] UTF-8 for internal string processing

Kevin Ollivier kevin-lists at theolliviers.com
Tue Apr 1 12:18:20 PDT 2008


Hi Jeff,

On Apr 1, 2008, at 11:39 AM, Jeff Tupper wrote:
> Vaclav and myself have been busy patronizing each other in a marathon
> off-topic chatting session in the bug  tracker. I don't want to
> pollute the wx-dev mailing list, but I do think Unicode support is an
> important issue for wxWidgets and think that some more discussion
> would be useful.
>
> I'm just a bit confused about why UTF-8 is replacing other encoding
> systems on some platforms.
>
> Doing so will, at best, improve performance by a small factor. But it
> can degrade performance by orders of magnitude. (Working with a
> megabyte string can become 1,000,000 times slower: months instead of
> seconds.)

I find that discussions go a lot smoother with specific details and  
examples. Why don't you provide some specific code showing the  
problems that the new unified mode is causing you? The changes were  
clearly not intended to make it impossible to build wxWidgets apps  
with acceptable performance, so if we're missing something, it'd be a  
lot easier and faster if you could show us what's wrong specifically  
so that we can discuss the specifics and try to fix the problem.

Thanks,

Kevin


More information about the wx-dev mailing list