提交 e0993c6c 编写于 作者: M Michael Koziarski

Reverse the order of the iconv arguments to remain compatible with older rubies / iconvs.

[#1195 state:resolved]
上级 9ab83b1c
......@@ -273,7 +273,7 @@ def parameterize(string, sep = '-')
# Replaces accented characters with their ascii equivalents.
def transliterate(string)
Iconv.iconv('ascii//translit//IGNORE', 'utf-8', string).to_s
Iconv.iconv('ascii//ignore//translit', 'utf-8', string).to_s
end
# The iconv transliteration code doesn't function correctly
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册