Greetings!

I am new to Cakephp, done some php. I am developing a very simple
library management app for a NGO. They have books in various
languages. My simple app, which shows listing of books, add book, edit
book works quite well with unicode. However the search is not working.
When I tried to debug the issue, I found that the passed parameter is
being translated to something that I cannot understand.

For e.g. I am trying to search for a book titled ಕವಲು (this is kannada
language) the controller dump shows this:

  [name] => Book
    [here] => /cake/index.php/books/index/Search.title:
%E0%B2%95%E0%B2%B5%E0%B2%B2%E0%B3%81
    [webroot] => /cake/app/webroot/
    [action] => index
    [uses] =>
    [params] => Array
        (
            [pass] => Array
                (
                )

            [named] => Array
                (
                    [Search.title] =>
%E0%B2%95%E0%B2%B5%E0%B2%B2%E0%B3%81
                )

So the unicode characters are being changed to these % characters. I
am not able to understand as to what is this format is and how and why
this is happening. The URL (http://localhost/cake/index.php/books/
index/Search.title:ಕವಲು) seems to show the characters properly. I have
included the encoding parameter in dbconfig.php.

Before posting this, I have spent several hours trying to find a
solution. Did not find any.

Appreciate your help.

Regards,
Harish




Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to