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:
parent
a08922d2f6
commit
67b65dffa8
2 changed files with 23 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue