mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-04 07:44:01 +01:00
Need to globalise text and set the array chunk
This commit is contained in:
@@ -130,6 +130,9 @@ function xssClean($data,$type) {
|
||||
|
||||
// returns a UTF8 based string with any UFT8 BOM removed
|
||||
function toUTF8noBOM($string,$message) {
|
||||
global $text;
|
||||
$t = $text['settings-common'];
|
||||
|
||||
// Attempt to detect encoding
|
||||
if (function_exists('mb_detect_encoding')) {
|
||||
$strictUTF8 = mb_detect_encoding($string, 'UTF-8', true);
|
||||
|
||||
Reference in New Issue
Block a user