Read ASCII file in user defined tag

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
cyberman

Re: Read ASCII file in user defined tag

Post 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>';
cyberman

Re: Read ASCII file in user defined tag

Post 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 :) ...
cyberman

Re: Read ASCII file in user defined tag

Post 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 ...
Locked

Return to “CMSMS Core”