2013-03-20 21 views

回答

6

使用unidecoder寶石:

require 'unidecoder' 
"Haryāna".to_ascii # => "Haryana" 
+0

哇,這做到了..感謝了很多.. – whizcreed 2013-03-20 13:20:59