I found something strange, maybe it's a bug. When I include the file fckeditor.asp the text with special characters goes crazy. A text like "teste "shows like "teste áéíóú".
In the HTML source the text is written right, it's only goes crazy on the borwsers. The most strange is that even if I don't use the editor (just include the file) the text goes crazy.
I'm using 2.0 RC3. And I tested in IE 6 SP1 and FireFox, and on IIS 5 and it works fine. The problem is with IIS 6 (http://www.locaweb.com.br)
does any of you have any clue of what could be the problem?
PS: sorry for my english....
Mon, 04/11/2005 - 15:20
#1
RE: Problem with page code in IIS 6
Are you using the HTML special chars (&sym;) or just the special chars? If you are using HTML encoded special chars, I have no clue. If you are using NON encoded special chars, I'd check your char-set.
RE: Problem with page code in IIS 6
I can fix the page code by adding:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I've looking around and I found this : http://www.adminlife.com/247reference/m ... 80866.aspx
I understood that if your're using interdev it saves the file in ANSI mode, and when the IIS is using a non ANSI recordset it sets it to ANSI. But my mdb file is utf-8, so it goes crazy. At least it's the only explanation I can come with
Are you using interdev?
RE: Problem with page code in IIS 6
The fckeditor.asp file is in UTF-8 format, when I convert to ASCII it works just fine.
IIS 6.0 assumes the code page is the format of the script file was created.