From: Elizabeth B. <li...@so...> - 2003-02-26 18:16:51
|
I used libxml2 recently in a C++ project and dealt with the encoding issue by converting the original encoding to US-ASCII via iconv. Perhaps something similar could be implemented in libxml++ such as the constructor requiring an encoding (such as US-ASCII or UTF8), which causes the orginial object to acquire an iconv_t token (see iconv_open(3)). Each request for a string would then be run through iconv using the above token. Elizabeth |