Culture problem GR RRS feed

  • Question

  • User-1396829774 posted

    i made a website with VS2005 asp.net 2 AJAX anabled..

    the culture language of the page is greek.. 

    the problem came when i upload the site to my host wh4l wich uses english regional settings..so to be able to see greek characters, i made the following changes..

    • in web.config <system.web>

      <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="el-GR" uiCulture="el-GR"/>

    • in Masterpage.master

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    • ALL the pages saved with specific encoding Unicode (utf-8 with signature) - codepage 65001

    • Also i use for every page Protected Overrides Sub InitializeCulture()

      Me.Culture = "el-GR"

      Me.UICulture = "el-GR"

      End Sub

    So what i've done is that every character i wrote for client side.. is ok.. WHEN SERVER SIDE sends a greek phrase For example to a Label .. i get this kind of characters óôçí åéêüíá
    wich i dont want to.....



    Monday, November 26, 2007 12:51 PM


  • User-1396829774 posted

    Problem SOLVED!!!!

    i had to sav vb files to.. with specific encoding Unicode (utf-8 with signature) - codepage 65001

    for example Default.asp.vb

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 26, 2007 4:02 PM