[Rails] Converting from UTF8 to ISO-8859-1 encoding

Gregg Pollack
Tue, 02 May 2006 20:08:03 -0000

Please help,

   I have followed the rails wiki to convert my rails application to use
UTF-8:

http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings

   I am able to succesfully cut and paste Unicode characters from other
page, successfully store and display unicode characters.

   However, my client actually wants ISO-8859-1 encoding, which I''m
coming to realize is somehow different then UTF8.  Having UTF8 allows me
to use alot of the ISO-8859-1 strings, but not all of them.

   So my questions are:

1. What is the difference?

2. How do I configure my application for ISO-8859-1?  I tried just
changing the content-type, but there must be more to that.

   Thanks in advance,

-Gregg

--
Posted via http://www.ruby-forum.com/.