Permalink
Browse files

Improve remove force_encoding because mecab-modern

  • Loading branch information...
1 parent debcae3 commit cfa54041ab85f2255d40bd5fcad706d885952c2f @myokoym committed Oct 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mecab-syllable/syllable.rb
@@ -6,11 +6,11 @@
module MeCab
class Node
def part
- surface.force_encoding("UTF-8")
+ surface
end
def kana
- feature.force_encoding("UTF-8").split(/,/)[8]
+ feature.split(/,/)[8]
end
end

0 comments on commit cfa5404

Please sign in to comment.