• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why codeigniter doesn't accept accented characters in cart class ?

#1
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?
Reply

#2
Better stop using the cart class anyway, it is soon to be deprecated.
Practical guide to IgnitedCMS - Book coming soon
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.