> What is the command to replace the accents for the browser recognizing them?
>
> Because on "Response.Write(rs("FieldName"))" comes from the DB a word with
> accent like: "Vitória"
>
> But the browser shows a strange character on this word " ó "
You need to tell the browser the encoding used for your response. You
can do that by setting
Response.Charset = "ISO-8859-1"
where ISO-8859-1 is just an example, replace that with the encoding you use.

Signature
Martin Honnen --- MVP XML
http://msmvps.com/blogs/martin_honnen/
Paulo wrote on Fri, 24 Jul 2009 11:56:38 -0300:
> What is the command to replace the accents for the browser recognizing
> them?
> Because on "Response.Write(rs("FieldName"))" comes from the DB a word
> with accent like: "Vitória"
> But the browser shows a strange character on this word " ó "
> But if I go to the source code page it shows ok...
As well as Martin's suggestion, you can do this:
Response.Write Server.HTMLEncode(rs("FieldName"))
which will replace all the extended characters with their HTML encoded
versions.

Signature
Dan