Topic Closed
pilets
1 Posts
Hello,
Is it possible to change the utf-8 encoding to ISO-8859-1?
I would like to create a site that will be dedicated to old computers, and I would like these old computers to be able to visit this site, which will have accented characters (éàè...). Almost none of the old computers in question have access to the utf-8 encoding in which TypesetterCMC is configured by default but are compatible with ISO-8859-1 .

Thank you in advance for your answers
 
2 years ago#11922

mabu
442 Posts
7.5K Downloads
5 Themes
9 Plugins

I can only give You a hint : In the header You want something like <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' / >

In /include/Tool/Output.php line 185 You find utf-8 :
public static function StandardHeaders(){
            header('Content-Type: text/html; charset=utf-8');
            Header('Vary: Accept,Accept-Encoding'); // for proxies
        }

and similar in map.php line 65 and 66 and in session.php line 966  and 968 and in Ajax.php line 168.
You can try to change the code there to iso-8859-1  - but its untested, if its sufficient.

( You should generally use the git-master - in Your case an older Typesetter version may be better. But FAT(32)- Systems have no real security . And there may be other problems with very old browsers who do not understand CSS3 and newer versions of javascript - especially during and after login)

Edited: 2 years ago#11923

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

Log In

  Register