I understand that Redland uses UTF-8 internally and in its API.

However, it isn't clear to me the right way to convert from those 
unsigned char* strings to std::wstring or std::string classes, which is 
what my program uses internally.

I have the code "working" using std::string, but I would bet that my 
code wouldn't handle non-ascii characters properly.

Can anyone provide some guidance?

-j

-- 
Joe Andrieu
[email protected]
+1 (805) 705-8651
http://www.switchbook.com
_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to