Permalink
Browse files

Reverse the order of the iconv arguments to remain compatible with ol…

…der rubies / iconvs.

[#1195 state:resolved]
  • Loading branch information...
1 parent 9ab83b1 commit e0993c6c376d62716757a8a7f476ed0c369d0fc7 @NZKoz NZKoz committed Oct 14, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/inflector.rb
@@ -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

0 comments on commit e0993c6

Please sign in to comment.