thbrk 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/thbrk/core_ext.rb +2 -2
- metadata +1 -1
data/lib/thbrk/core_ext.rb
CHANGED
@@ -8,10 +8,10 @@ String.class_eval do
|
|
8
8
|
def to_thbrk
|
9
9
|
|
10
10
|
utf8_to_tis620 = Iconv.new("TIS620//IGNORE", "UTF-8")
|
11
|
-
a = LibThai::brk_line(utf8_to_tis620.iconv(self)
|
11
|
+
a = LibThai::brk_line(utf8_to_tis620.iconv(self))
|
12
12
|
|
13
13
|
tis620_to_utf8 = Iconv.new("UTF-8//IGNORE", "TIS620")
|
14
|
-
o = tis620_to_utf8.iconv(a)
|
14
|
+
o = tis620_to_utf8.iconv(a)
|
15
15
|
|
16
16
|
return o
|
17
17
|
end
|