I am interested in building a website in Hebrew using Ruby on Rails 3. The problem is when I put Hebrew in my opinion. They tell me that it is not supported, and I have to add UTF-8.
I have been working on this for a while, and I cannot find how to do this. I also use Sqlite3, and I would also like to keep Hebrew strings.
How can i achieve this?
The error code I give is:
Your template was not saved as valid UTF-8. Please either specify UTF-8 as the encoding for your template in your text editor, or mark the template with its encoding by inserting the following as the first line of the template:...
Edit:
The problem was that I was working on Notepad ++, which did not save my files in UTF-8 format, although they were UTF-8-generated files. Solved by changing the file format.
source share