owczi
Forum Replies Created
-
Sorry for posting so many times. There’s a typo in my last post. The version handled by PHP4 is http://www.centrala.website.pl/plonk.php4
OK, it’s something wrong with server’s PHP. I switched PHP 5 a separate file extension handler, and now I get:
http://www.centrala.website.pl/plonk.txt – original file, OK
http://www.centrala.website.pl/plonk.php – handled by PHP 4, OK
http://www.centrala.website.pl/plonk.php5 – handled by PHP 5, NOT OK. Now it’s time to yell at the hosting provider.Thanks for the answer, but as I said I am _sure_ the files are correctly encoded. At first I thought it must be something wrong with the editor, but the template files are UTF-8 encoded for sure. I did a sanity check of creating a file and converting it to UTF-8 using iconv and I still had the same results. The templates ARE utf-8. Here’s a test:
http://www.centrala.website.pl/plonk.txt – this is an utf-8 file
http://www.centrala.website.pl/plonk.php – this is THE SAME FILE with a changed extension. I have no idea what does the local PHP do with the poor file.Files parsed by PHP already have the ???’s inside, no 2-byte characters.