View Full Version : Custom Control problem latin characters
alexvazquez
04-05-2004, 03:25 AM
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
bruce
04-06-2004, 04:49 AM
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
[b]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">
vBulletin® ©Jelsoft Enterprises Ltd.