A number of JQUERY plugins can throw up syntax errors after setting setlocale(“LC_ALL”,XXX.utf8)

 

Make sure you change back the LC_NUMERIC variable;

 

setlocale (LC_ALL, $language);
setlocale(LC_NUMERIC, ‘C’);