[Groonga-commit] droonga/grn2drn at 42aaa36 [master] Read input as UTF-8 always

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 10 10:25:40 JST 2014


YUKI Hiroshi	2014-07-10 10:25:40 +0900 (Thu, 10 Jul 2014)

  New Revision: 42aaa36241b43a7b42aad4a9bb15f896462e3f4c
  https://github.com/droonga/grn2drn/commit/42aaa36241b43a7b42aad4a9bb15f896462e3f4c

  Message:
    Read input as UTF-8 always

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

  Modified: lib/grn2drn/command-converter.rb (+1 -1)
===================================================================
--- lib/grn2drn/command-converter.rb    2014-07-10 10:23:22 +0900 (1f612e9)
+++ lib/grn2drn/command-converter.rb    2014-07-10 10:25:40 +0900 (b926b92)
@@ -54,7 +54,7 @@ module Grn2Drn
       end
 
       input.each_line do |line|
-        @command_parser << line
+        @command_parser << line.force_encoding("UTF-8")
       end
       @command_parser.finish
     end
-------------- next part --------------
HTML����������������������������...
Download 



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