[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-poppler
Subject:    Re: [poppler] poppler-dump
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2014-03-13 9:20:56
Message-ID: 2938511.78AsZVcI23 () saxicola
[Download RAW message or body]

On Thu, 13 Mar 2014 10:11:36 AM Marco wrote:
> I have tried it more times but I need to have in output not ustring data
> but string or pointer of chars.
> 
> I need to have utf8 charset but not in the ustring format.
From cpp/poppler-global.h header:

class POPPLER_CPP_EXPORT ustring : public std::basic_string<unsigned short>
{
public:
    ustring();
    ustring(size_type len, value_type ch);
    ~ustring();

    byte_array to_utf8() const;
    std::string to_latin1() const;

    static ustring from_utf8(const char *str, int len = -1);
    static ustring from_latin1(const std::string &str);
...
}

_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic