mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
UTF-8 support (PDF 2.0 compliance) and ProcedureSets (for compatibility)
This commit is contained in:
@ -105,11 +105,18 @@ public:
|
||||
static const encoding::EncodingTable* getTableForEncoding(Encoding encoding);
|
||||
|
||||
private:
|
||||
/// Returns true, if byte array has UTF-16BE unicode marking bytes at the
|
||||
/// Returns true, if byte array has UTF-16BE/LE unicode marking bytes at the
|
||||
/// stream start. If they are present, then byte stream is probably encoded
|
||||
/// as unicode.
|
||||
/// \param stream Stream to be tested
|
||||
static bool hasUnicodeLeadMarkings(const QByteArray& stream);
|
||||
|
||||
/// Returns true, if byte array has UTF-8 unicode marking bytes at the stream
|
||||
/// start. If they are present, then byte stream is probably encoded
|
||||
/// as UTF-8 string.
|
||||
/// \note UTF-8 strings were added in PDF 2.0 specification
|
||||
/// \param stream Stream to be tested
|
||||
static bool hasUTF8LeadMarkings(const QByteArray& stream);
|
||||
};
|
||||
|
||||
} // namespace pdf
|
||||
|
Reference in New Issue
Block a user