E
Emmanuel
hi,
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.
If i were to set Response.CharSet = "utf-8" the text i'm taking from the
database appears correctly, but then the include files will not
the inverse will happen if i were to set response.CharSet = "iso-8859-1"
Seems like I'm in deep trouble. How can i fix this?
thanks
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.
If i were to set Response.CharSet = "utf-8" the text i'm taking from the
database appears correctly, but then the include files will not
the inverse will happen if i were to set response.CharSet = "iso-8859-1"
Seems like I'm in deep trouble. How can i fix this?
thanks