From: =?utf-8?q?J=C3=A9r=C3=A9my_Bobbio?= <lunar@debian.org>
Date: Mon, 5 May 2014 18:43:48 +0200
Subject: Properly handle PO files encoding in PoFile.to_mo_file

---
 lib/fast_gettext/po_file.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fast_gettext/po_file.rb b/lib/fast_gettext/po_file.rb
index 9f3d7cc..6996a61 100644
--- a/lib/fast_gettext/po_file.rb
+++ b/lib/fast_gettext/po_file.rb
@@ -12,7 +12,7 @@ module FastGettext
       parser.report_warning = options.fetch(:report_warning, true)
 
       mo_file = FastGettext::GetText::MOFile.new
-      parser.parse(File.read(file), mo_file)
+      parser.parse_file(file, mo_file)
       MoFile.new(mo_file)
     end
   end
