[JDEV] libxode problem

Jens Alfke jens at mooseyard.com
Tue Apr 17 10:40:13 CDT 2001


On Tuesday, April 17, 2001, at 12:19 AM, Yooung-young Kim wrote:

> When I put english instead of 2byte charactor, xmlnode_str() works 
> well. But
> if I use 2byte charactor, It works terrable, always return NULL.

You probably need to convert the non-ascii characters into whatever 
encoding libxode is expecting (most likely UTF-8). I would guess that 
you are using your system's native character set, which is probably not 
Unicode or UTF-8.

So check the libxode docs (if any) or source code to see what kind of 
encoding it expects. Then if there is a mismatch, you'll need to convert 
your text into the right encoding; your OS may have utilities for doing 
this.

--Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 705 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010417/561e61bf/attachment-0002.bin>


More information about the JDev mailing list