[Groonga-commit] droonga/grn2drn at 1958dcd [master] grn2drn-schema: Read input as UTF-8 always

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 10 11:48:51 JST 2014


YUKI Hiroshi	2014-07-10 11:48:51 +0900 (Thu, 10 Jul 2014)

  New Revision: 1958dcdad5c55dec5175556aa8cdb55033a4e157
  https://github.com/droonga/grn2drn/commit/1958dcdad5c55dec5175556aa8cdb55033a4e157

  Message:
    grn2drn-schema: Read input as UTF-8 always

  Modified files:
    lib/grn2drn/schema-converter.rb

  Modified: lib/grn2drn/schema-converter.rb (+1 -1)
===================================================================
--- lib/grn2drn/schema-converter.rb    2014-07-10 11:47:15 +0900 (b106bb9)
+++ lib/grn2drn/schema-converter.rb    2014-07-10 11:48:51 +0900 (88fd4da)
@@ -49,7 +49,7 @@ module Grn2Drn
       end
 
       input.each_line do |line|
-        command_parser << line
+        command_parser << line.force_encoding("UTF-8")
       end
       command_parser.finish
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index