I have a Rails application that is using a MSSQL server/database. I need
to change the character set encoding to ISO-8859-1. How do I do this???
I have added the defult_cahrset to the environment.rb like:
And I have set the attribute on the meta tag in the header like:
And also, since I am using the Aptana RadRails IDE I have set the
text-file encoding property to ISO-8859-1.
But when I try to populate my database using the migration scripts I get
an error saying:
syntax error, unexpected tSTRING_BEG
unterminated string meets end of file
The line of code contains Swedish characters like Ã…, Ã„ and Ã–. If i
remove the Ã–, all is fine. But this is not an option.
Need help fast!!!