Sha256: a0cc8d9dc5a85dd25c1e6feea678ac7695a57087b5025a362d983813efe8289a
Contents?: true
Size: 215 Bytes
Versions: 1
Compression:
Stored size: 215 Bytes
Contents
module EncodingHelpers def win1252_string(str) ruby_19 { str.force_encoding("Windows-1252") } str end def bin_string(str) ruby_19 { str.force_encoding("ASCII-8BIT") } || ruby_18 { str } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prawn-0.13.0 | spec/extensions/encoding_helpers.rb |