Custom Control problem latin characters

Discussion in 'ASP.NET / ASP.NET Core' started by alexvazquez, Apr 5, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I just created a custom control. The ascx.vb code behind of the custom control reads some data from an access database that has latin characters like (ñ,á,é,í,ó,ú). When I execute the aspx page that reads the control I can get the latin charactesrs instead I get garbage where the latin chars should be. I already set the Encoding of the page to latin charset but I don't know if I have to set the charset in the control and in the codebehing and if so someone know how to do it?

    Please let me know asap. Thanks a lot

    Alex
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Have you look into the web.config's globalization node

    http://support.microsoft.com/default.aspx?scid=kb;en-us;306162
    http://www.dotnetbips.com/displayarticle.aspx?id=218

    quote:Originally posted by alexvazquez

    I just created a custom control. The ascx.vb code behind of the custom control reads some data from an access database that has latin characters like (ñ,á,é,í,ó,ú). When I execute the aspx page that reads the control I can get the latin charactesrs instead I get garbage where the latin chars should be. I already set the Encoding of the page to latin charset but I don't know if I have to set the charset in the control and in the codebehing and if so someone know how to do it?

    Please let me know asap. Thanks a lot

    Alex
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page