[wsf-c-dev] Embedding Axis2 to MySQL

James Clark james at wso2.com
Wed Jan 10 23:40:12 PST 2007


> STRING function means, function that return MySQL STRING. (same for 
> other types)
> 
> -------------------------
> | SQL Type   | C/C++ Type |
> -------------------------
> | STRING     | char *     |

How does MySQL deal with character encodings?  It would be nice if the
char * for a STRING was always UTF-8, but I kind of doubt things are
that simple.  I guess my question is: given a MySQL STRING how do we
convert it into the kind of string that Axis2 needs (which is UTF-8)?

James






More information about the Wsf-c-dev mailing list