CodeIgniter Forums

Full Version: why codeigniter doesn't accept accented characters in cart class ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I fixed the "error" using the convert_accented_characters function, for example:
PHP Code:
$insert = array(
 
 'id'    => $id,
 
 'qty'   => $quantity,
 
 'price' => $product->price,
 
 'name'  => convert_accented_characters($product->name),
); 

But I wanted to know why codeigniter doesn't accept these characters. It is for safety? or a compatibility issue?
Better stop using the cart class anyway, it is soon to be deprecated.