M
Miguel Dias Moura
Hello,
i had problems in my web site with the database and characters such as "é",
"?", "á", etc.
The last version of this web site was in standard ASP and everything was ok.
Anyway, somebody told me that the problem was in the default enconding of
ASP.net which was UTF-8.
I added the following in my web.config file:
<system.web>
<globalization
requestEncoding="UTF-8"
responseEncoding="UTF-8"
/>
</system.web>
Then i tryied to change the UTF-8 part to another Charater Sets, such as
Latin or Portuguese, available in
http://www.iana.org/assignments/character-sets.
However, everytime i make this change i get the following error:
The <globalization> tag contains an invalid value for the 'requestEncoding'
attribute.
Anyway, look at one of the Charater Set i used:
....
requestEncoding="ISO-10646-Unicode-Latin1"
responseEncoding="ISO-10646-Unicode-Latin1"
....
Can you help me out? I am going crazy, i don't know what else to do and all
my work is dependent of this.
Thank You,
Miguel
i had problems in my web site with the database and characters such as "é",
"?", "á", etc.
The last version of this web site was in standard ASP and everything was ok.
Anyway, somebody told me that the problem was in the default enconding of
ASP.net which was UTF-8.
I added the following in my web.config file:
<system.web>
<globalization
requestEncoding="UTF-8"
responseEncoding="UTF-8"
/>
</system.web>
Then i tryied to change the UTF-8 part to another Charater Sets, such as
Latin or Portuguese, available in
http://www.iana.org/assignments/character-sets.
However, everytime i make this change i get the following error:
The <globalization> tag contains an invalid value for the 'requestEncoding'
attribute.
Anyway, look at one of the Charater Set i used:
....
requestEncoding="ISO-10646-Unicode-Latin1"
responseEncoding="ISO-10646-Unicode-Latin1"
....
Can you help me out? I am going crazy, i don't know what else to do and all
my work is dependent of this.
Thank You,
Miguel