Page 1 of 1

Re: Read ASCII file in user defined tag

Posted: Thu Apr 12, 2007 10:04 am
by cyberman
Wils wrote: the åäö are displayed with ?.
It's an encoding problem. If I'm right your ascii file contains chars like ä and ö. CMSms uses normally an utf-8 encoding and this one does not know this chars so you will get ? after parsing udt.

You could replace special chars with his entities (ä instead ä and so other).

Maybe you can show output correctly via

Code: Select all

echo '<pre>' . $output . '</pre>';

Re: Read ASCII file in user defined tag

Posted: Thu Apr 12, 2007 11:01 am
by cyberman
Another option could be to set encoding in config.php to ISO-8859-1 (admin and frontend).

Don't forget clear cache after modifying config.php :) ...

Re: Read ASCII file in user defined tag

Posted: Thu Apr 12, 2007 11:39 am
by cyberman
Yea, this is the reason why I suggest to set admin to iso-8859-1 too. Maybe your template includes an encoding too ...