Re: [libxml++] Bail when not parsing UTF-8 content



On Tue, 2009-11-10 at 21:04 +0200, Etienne Philip Pretorius wrote:
> Hello List,
> 
> Just a quick question. Is there a way that you can get the Encoding type 
> in libxml++. I need to bail out if the data fed in is not UTF-8.

Maybe Document::get_encoding() would help.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]