Weird cyrillic characters behavior after uploading to Ubuntu production server

Posted by maxt3r on Server Fault See other posts from Server Fault or by maxt3r
Published on 2011-01-09T14:25:53Z Indexed on 2011/01/09 17:55 UTC
Read the original article Hit count: 186

Filed under:
|

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)

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ruby-on-rails