Iso-8859-1 And UTF-8

I have this ASP application which is taking text from an NVARCHAR and NTEXT
columns and outputs them in the response.

The problem has to do with encoding.. basically the text appears to be UTF-8
(i'm not sure about this, but its definitely not iso-8859-1) but i need it
to be outputted as iso-8859-1.

Why I need to do this? Because the asp application includes files which have
been saved in iso-8859-1 encoding and unfortunately i cannot just change
their encoding as these files are used everywhere on the website and
therefore the consequences could be disastrous. Code:

View Replies


ADVERTISEMENT

Character Encoding Problem: ISO-8859-1 And UTF-8

I'm having the following problem: I have an ASP page that calls another JSP page, passing some strings as parameters.

The strings have special characters, such as "ó" and "ê" (Portuguese characters). When passing those parameters, the JSP page receives them as UTF-8 characters, with 2 bytes each, but we would like them to be treated as ISO-8859-1 characters. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved