Control: reassign -1 ruby-fast-gettext

Johannes Schauer:
> Result:
> 
> poparser.ry:162:in `===': invalid byte sequence in US-ASCII (ArgumentError)
>       from poparser.ry:162:in `parse'
>       from /usr/lib/ruby/vendor_ruby/fast_gettext/po_file.rb:16:in 
> `to_mo_file'

That line says:

      parser.parse(File.read(file), mo_file)

PoParser already contains a `parse_file` method that will deal with the
encoding of the PO file. The following makes the issue disappear:

      parser.parse_file(file, mo_file)

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to