Dominik Seichter schrieb:
> Hi,
> 
> Hmm, all strings but the first are Unicode strings. So it is a problem in 
> podofopdfinfo and not in PdfString. PdfString::GetUnicodeString() should be 
> used if PdfString::IsUnicode() returns true. I wanted to add a method 
> PdfString::GetStringUtf8 anyways that will return an UTF8 string in any case, 
> this would fix the problem. But I don't have time to do it now, so you will 
> either have to wait a few days, or check IsUnicode() before using your 
> strings :(.

Hm, the problem is, IsUnicode() does not return true, but IsHex() does.
I guess I would need to handle the UTF16-string myself (= converting it
to something more useful)? But adding a method that always returns a
UTF-8 string is probably the best solution anyways as this will save
much trouble over time, so I'll just go with waiting for it.

Thank you so far for your help!

Philipp

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to