0

i setted up this in my config.php:

$config['global_xss_filtering'] = TRUE;

the problem for me is that it removes all the accented chars like "à,ù,è,ò"

is this usual?

also why replacing them? how can i leave them?

thanks

itsme
  • 48,972
  • 96
  • 224
  • 345

1 Answers1

0

In order to leave the accented characters you can use the convert_accented_characters() function of text_helper which will transliterate high ASCII characters to low ASCII equivalents. You have to load the helper first. Documentation here

Vassilis Barzokas
  • 3,105
  • 2
  • 26
  • 41
  • nope, the problem is that before i can use the convert_accented_characters() method the string is replaced yet by the config global xsss filter :P – itsme Feb 01 '13 at 09:49