I´ve naged about this problem for quite a while and I´m sorry for that but I can´t seem to solve this one.
On my site site link
when entering the site theres a swf called news that is loaded into level 3. Thrugh a phpfile (nyheterinput.php) the text is taken from a txt file (nyheterinput.txt) and special chars (äåö) shows nicely!!!
When clickin guestbook a swf called GuestBook.swf is loaded into level3 and through a phpfile (GuestBook.php) the text is taken from a txt file (GuestBook.txt). but when txt is loaded special chars are replaced with strange “letters”.
No I´ve checked and checked and can´t find any differencies in the way the news is loaded and the guestbook but STILL it shows the same — Mystery!!!
Please check my files and please give my a hand to solve this.
Hi mooler,
First thing I noticed is that your “replace special characters” code does not appear to be in your guestbook.php file, not sure it can be as simple as all that.
Have you tried saving your txt files UTF-8 instead of ANSI, if that works you won’t need the code to replace the characters.
Worth a try
Wish it would have been that simple but no luck :hangover:
Have tried the UFT-8 thing before but it didn´t work then either. The 2 txt files nyheterinput.txt and GuestBook.txt are exactly the same and only one of them work. At least to me they are the same but if I just could find som diffrence between them I probobly would have the solution.