I have a rails app in which users are able to make text posts - sometimes, special characters are entered and show up as "?". Does anyone have a nice way to strip these characters from a string or to convert them to normal charcters? Thanks guys :)
Hi! On Mon, 06 Jun 2005, John Kopanas wrote the following:> I have a rails app in which users are able to make text posts - > sometimes, special characters are entered and show up as "?". Does > anyone have a nice way to strip these characters from a string or to > convert them to normal charcters?Use UTF-8! http://wiki.rubyonrails.com/rails/show/HowToUseUnicodeStrings bye Wolfgang