Better interact with encoding autodetection
This commit is contained in:
parent
d82572bdbb
commit
c9166e0bf1
@ -166,7 +166,7 @@ local pdfmeta = {
|
|||||||
pdfmeta.__index = pdfmeta
|
pdfmeta.__index = pdfmeta
|
||||||
local function open(filename)
|
local function open(filename)
|
||||||
local file = io.open(filename, 'wb')
|
local file = io.open(filename, 'wb')
|
||||||
file:write"%PDF-X.X\n%🖋\n"
|
file:write"%PDF-X.X\n%äöüáàóòúù\n"
|
||||||
return setmetatable({file = file, version = '1.7', [0] = 0, pages = {}, objstream = {}}, pdfmeta)
|
return setmetatable({file = file, version = '1.7', [0] = 0, pages = {}, objstream = {}}, pdfmeta)
|
||||||
end
|
end
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user