# Strange charset problem

**URL:** <https://www.ruby-forum.com/t/strange-charset-problem/114065>\
**Category:** Rails\
**Created:** [September 7, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/strange-charset-problem/114065 "2007-09-07T15:03:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ther](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@ther](https://www.ruby-forum.com/u/ther)\
**Post date:** [September 7, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/strange-charset-problem/114065/1 "2007-09-07T15:03:06Z")

</div>

As long as I know charset directive directs browser in which charset  
data must be displyed. This is my layout section which tells that my  
data is in windows-1250 character set.

 etc.....

But browsers (IE, Opera or FF) are ignoring this directive and always  
default to UTF-8. I guess it is not browsers problem, since if I visit  
other sites with different encodings, settings are reflected in  
View/Encoding menu.

Pages are served from linux box (Ubuntu) through ODBC to MS-SQL server  
and using UTF-8 is out of the question.

What am I missing?

by  
TheR
