String coding across UI Tabs
My question refers to a master script with the header containing tabs
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
and a secondary scirpt which is the content of one of the tabs with the same header
Firefox display option is currently 8859-15
When loading strings from my database I read them in ISO8859-1
- $sCoding = mb_detect_encoding($enreg['Prenoms'],'UTF-8, ISO-8859-1');
Directly displaying the secondary script (for debug) the display is OK for accented characters
But if I want a good display when displaying the secondary script in UI tabs I must utf8_encode the string
Can I do something to avoid that and have the same behaviour for all of the scripts