Unicode advice

Milan Babuskov milanb at panonnet.net
Tue Mar 25 03:32:55 PDT 2008


Fulvio Senore wrote:
> The question is: what solution should I choose? It looks like UTF8 is a 
> better solution, the database (Firebird) supports UTF8, but does anybody 
> have an idea of when will wxWidgets 3 be available? Is the SVN version 
> suitable for production work?
> Is the UTF8 support a great advantage over current Unicode support?

Hi Fulvio,

As you might know, FlameRobin (Firebird admin. tool) is completely 
written with wxWidgets. We use 2.6.x and 2.8.x with Firebird and UTF-8 
without any problems, so perhaps a glimpse in FlameRobin code (it is 
open source after all) can help you.

Building wxWidgets in Unicode mode gives you full UTF8 support. You just 
need to use wx conversion classes to transliterate data from database 
from UTF8 to your environment's native charset and do the reverse when 
you want to write user's input to database.

If you get stuck somewhere, feel free to ask about any 
Firebird+wxWidgets questions at flamerobin-devel mailing list, or me 
directly.

HTH

-- 
Milan Babuskov
http://www.flamerobin.org


More information about the wx-users mailing list