Page 2 of 3
Posted: Thu May 12, 2005 7:08 pm
by Lain
So, mgroeninger, thanks a lot, i'll test your idea tomorrow, and tell you what ! Thanks !
Posted: Fri May 13, 2005 9:16 am
by Lain
Hi again ! Well...
I changed "machine.config" as you said, it didn't change the problem. I also removed the ISAPI filter, still the same... Rebooting the IIS services between tests, of course.
I'm not sure it has something to do with ASP.NET, since i have many other sites hosted on this server and s9y is the only one buggy.
Something weird: when i wanna change the coding of the page while browsing inside IE, UTF-8 is selected by default, and if i try to change (for ISO, or for another coding), the page reloads... And UTF-8 is still selected.
Looks like IE sees the source code is full of ࠦ鯲 etc, and forces the UTF-8.
...

Posted: Fri May 13, 2005 10:58 am
by Lain
Thinking there was a wrong coding somewhere, i commented the utf8_encode functions...
function serendipity_utf8_encode($string) {
// if (strtolower(LANG_CHARSET) != 'utf-8') {
// if (function_exists('iconv')) {
// return iconv(LANG_CHARSET, 'UTF-8', $string);
// } else {
// return utf8_encode($string);
// }
// } else {
return $string;
// }
}
But the problem remains. What is more weird even: Firefox displays the page with the good characters !!! God i'm mad...
On one of my IE, all the spec chars are little squares, and on another there are half squares, half japanese signs !!!!!

Posted: Fri May 13, 2005 12:25 pm
by garvinhicking
Hehe, the full beauty of MS IE and MS IIS cooperating
(Sorry, I don't use IIS, can't help you)
Regards,
Garvin
Posted: Fri May 13, 2005 12:45 pm
by Lain
It has to come from somewhere in s9y 0.8 code... All was ok in 0.7.1 ! And all my other sites run fine too !
Please...
*i guess i'll have to switch back to the old version otherwise...*
Posted: Fri May 13, 2005 1:23 pm
by garvinhicking
I'm really sorry, I cannot help you further. Maybe it's related to the Smarty templating and wrong charset infos in the HTML.
Regards,
Garvin
Posted: Fri May 13, 2005 1:25 pm
by Lain
Do you have a SQL script to restore 0.7.1 DB schema ?
Posted: Fri May 13, 2005 1:28 pm
by garvinhicking
No, this will not be possible.
I can offer you to look at your server if you provide me with FTP and HTTP access to your installation and try to see if I can find the error...?
Regards,
Garvin
Posted: Fri May 13, 2005 1:30 pm
by garvinhicking
I just am seeing a problem in your install: There's a UTF-8 BOM sequence at the first chars of your HTML page output. ("")
This may not be there!
Try to see which file or process is showing those 2 characters, firefox for example displays those.
It seems you edited a file manually and this program inserted UTF-8 code to your files.
So it's easily fixable after all
Regards,
Garvin
Posted: Fri May 13, 2005 1:52 pm
by Lain
I don't see those symbols in IE...
I send you a private msg

thx
Posted: Fri May 13, 2005 2:04 pm
by garvinhicking
Yes, I said that firefox displays them! So just IE hides them for you, it still means the files are sent.
Read you later then
Regards,
Garvin
Posted: Fri May 13, 2005 2:37 pm
by garvinhicking
You saved the "index.php" file with UTF-8 BOM header at the beginning. Teach your editor to not do such a thing.
I removed the first three bytes and everything seems to be in order now.
Have fun,
Garvin
Posted: Fri May 13, 2005 2:40 pm
by Lain
I'll never use UltraEdit again so...
Thaaaaaaaaaaaaaaaaaaaaaaaanks !

Posted: Fri Aug 05, 2005 3:59 pm
by salnet
Hello!
I've the same problem with the curious chars at the beginning (
http://www.salnet.de) With which tool can I remove them? I've used Windows Notepad and PSpad, but none of them show these chars.
Posted: Fri Aug 05, 2005 4:11 pm
by salnet
Ah, I got it. I had default Savesetting in Notepad UTF-8, now I changed it to ANSI it it works fine without this symbols.