CEGUI::String <-> MySQL (ucs2_unicode_ci)
Posted: Sun Nov 08, 2009 12:46
Hello,
I currently have a database encoded in "ucs2_unicode_ci" and I would like to know how I can convert the data received from the SQL database to a CEGUI::String ?
Note : When I receive the data from the database it's a byte array.
How does the CEGUI::String know which encoding it's supposed to be using ?
Is the CEGUI::String implementation language independant ? (does it work the same way on an english computer and a japenese computer ?)
Thanks !
I currently have a database encoded in "ucs2_unicode_ci" and I would like to know how I can convert the data received from the SQL database to a CEGUI::String ?
Note : When I receive the data from the database it's a byte array.
How does the CEGUI::String know which encoding it's supposed to be using ?
Is the CEGUI::String implementation language independant ? (does it work the same way on an english computer and a japenese computer ?)
Thanks !