Japanese Text to MySQL DB with Win32Lib
- Posted by Dave Probert <zingo at purpletiger.com> Sep 17, 2005
- 519 views
Hi Guys, I'm trying to deal with some multilanguage stuff for a small project I'm messing with. Basically I have a (Win32Lib) window with a RichEdit control in it. A person can type in Japanese here and I'd like to be able to get what they type either as UTF8 data or converted to UTF8, to drop into a MySQL4.1 (UTF8 supported) database. The problem is I have no idea how to get the data back in a suitable format. Has anyone done anything like this? I'd also like to be able to pull the UTF8 data from the DB and redisplay it in the RichEdit control as well. I've taken a look at the Multilingual stuff in the archives - but that's all about displaying the Japanese - not reading it back (as far as I can see anyway!), but it does have some stuff for the RichEdit redisplay, but not from UTF8 - only Unicode. Any help or guidance here would be appreciated. Cheers, Dave . .. : :: = == == = :: : .. . Server-Side DB driven web sites, Software Development (and part-time games developer) contact dave_p at purpletiger dot com or probert.dave at gmail dot com . .. : :: = == == = :: : .. .