Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Go back to UTF8...

  • Loading branch information...
commit cc0d9f2357ac96c0b75cf592e5382537210eeb55 1 parent 9503777
Rob Holland authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/pdftk/pdf.rb
View
2  lib/pdftk/pdf.rb
@@ -37,7 +37,7 @@ def field(name)
def fields
unless @_all_fields
- field_output = `pdftk "#{path}" dump_data_fields`
+ field_output = `pdftk "#{path}" dump_data_fields_utf8`
raw_fields = field_output.split(/^---\n/).reject {|text| text.empty? }
@_all_fields = raw_fields.map do |field_text|
attributes = {}
Please sign in to comment.
Something went wrong with that request. Please try again.