1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:07:34 +00:00

LibPDF: Handle string encodings

Strings can be encoded in either UTF16-BE or UTF8. In either case,
there are a few initial bytes which specify the encoding that must
be checked and also removed from the final string.
This commit is contained in:
Matthew Olsson 2021-05-23 21:27:17 -07:00 committed by Ali Mohammad Pur
parent a08922d2f6
commit 67b65dffa8
2 changed files with 23 additions and 4 deletions

View file

@ -8,4 +8,4 @@ set(SOURCES
)
serenity_lib(LibPDF pdf)
target_link_libraries(LibPDF LibC LibCore LibIPC LibGfx)
target_link_libraries(LibPDF LibC LibCore LibIPC LibGfx LibTextCodec)