Search code examples
asp.netencodingwebglobalization

Why my webpage is displayed with question marks, if i switch encoding to UTF-8?


Within the web.config file i have the following, regarding encoding info, since the website is availiale only to Greece.

<globalization fileEncoding="windows-1253" requestEncoding="windows-1253" responseEncoding="windows-1253" culture="el-gr" uiCulture="el"/>

What changes should i implement if i decide to add the English version of the website too?

UPDATE:

1) The hosting server is not located in Greece.

2) Only the dynamically created text is displayed correctly. All other text is displayed as question marks.


Solution

  • utf-8 should be sufficient shouldnt it?