[Groonga-commit] groonga/groonga-normalizer-mysql [master] Add missing [0]

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sun Feb 10 21:09:58 JST 2013


Kouhei Sutou	2013-02-10 21:09:58 +0900 (Sun, 10 Feb 2013)

  New Revision: 6ba69887b927de038e5605e1b880b0ce18796623
  https://github.com/groonga/groonga-normalizer-mysql/commit/6ba69887b927de038e5605e1b880b0ce18796623

  Log:
    Add missing [0]

  Modified files:
    tool/parser.rb

  Modified: tool/parser.rb (+1 -1)
===================================================================
--- tool/parser.rb    2013-02-10 19:11:13 +0900 (e2bd42e)
+++ tool/parser.rb    2013-02-10 21:09:58 +0900 (b664925)
@@ -23,7 +23,7 @@ module Unicode
   end
 
   def from_utf8(utf8)
-    utf8.unpack("U")
+    utf8.unpack("U")[0]
   end
 end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index