corymickelson / NoPoDoFo

node pdf native bindings
GNU Affero General Public License v3.0
26 stars 6 forks source link

ContentsTokenizer async returning unusable value #80

Closed corymickelson closed 5 years ago

corymickelson commented 5 years ago

The value returned from the contents tokenizer read async is a buffer, when converting this buffer to string, the string is not correct. Explicitly using 'ascii' as the encoding does not help.