Sunday, 8 September 2013

codeigniter controller input Hebrew letters

codeigniter controller input Hebrew letters

I have a function in the controller that gets a string and then queries
the database (via the model) for records that have this string as their
name. This works fine with English but I have a problem when the input is
in Hebrew. When I echo the string I see something like %D7%91 and the
query fails. All database tables entries are defined as utf8_general_ci.
Thanks, Simon

No comments:

Post a Comment