|
How to change the default charset on SMS FoxBox |
|
|
|
In this how to I’ll show how to solve problems with characters rapresentation
By default SMS FoxBox handles characters using UTF-8 encoding, to switch it to your favorite encoding and avoid problems with XML parser, all you have to do is simply ch’ange the charset header in the file main.php of the template. The file is located in /mnt/flash/media/templates/<template name>/main.php
For example switch from: <? // set charset to display accented characters correctly header('content-type: application/xml; charset=UTF-8);
To:
<? // set charset to display accented characters correctly header('content-type: application/xml; charset=ISO-8859-1');
for the correct rapresentation of accented chars like èéàò etc…
|