Weird cyrillic characters behavior after uploading to Ubuntu production server
- by maxt3r
When i upload my rails app via SFTP to production server which is running Ubuntu 10.04 LTS all cyrillic characters in my files look like this:
http://dl.dropbox.com/u/347209/chars.png
As you can see, only parts of words are broken. And because of this rails app doesn't start with syntax error.
Also i'm getting errors like
ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8)