Thank you both!!! I used the patch you gave, and used mb_* functions to set string to lowercase ( i was having problems with chars like Ó and Á )
Martin what do you mean by: "I will let you post the ticket though." Sorry im not a expert on CAKEPHP , yet!!!! .... On 10 Fev, 14:37, Martin Westin <[email protected]> wrote: > Cake only supports conversion of a specified list of characters to > their "root" a or o. > You need to patch the Inflector class (and post it back to the > tracker). > > line 496 of inflector.php is where the action starts. It is quite > obvious where to add your additional characters. Actually I added > those three to this version if you want the quick fix: > > http://bin.cakephp.org/view/1955811171 > > I will let you post the ticket though. > > On Feb 10, 2:02 pm, PaulMan <[email protected]> wrote: > > > hello, > > > echo Inflector::slug(' ã õ ï ö ä ë ö ü á í é ó ú à è ì ò ù â ê î ô û > > ç ); > > what i want is to have the next result > > a_o_i_oe_ae_e_oe_ue_a_i_e_o_u_a_e_i_o_u_a_e_i_o_u_c > > > but the result is > > _õ_ _oe_ae_e_oe_ue_a_i_e_o_u_a_e_i_o_u_a_e_i_o_u_c > > > ã should be => a > > õ should be => o > > > On 10 Fev, 12:41, anler <[email protected]> wrote: > > > > You want to keep the url with your letters as they are? if that is the > > > case, google by IDNA (International Domain Names ... or something, or > > > the package Net_IDNA in pear.php.net) > > > > On Feb 10, 1:35 pm, PaulMan <[email protected]> wrote: > > > > > echo Inflector::slug(' ã õ ï ö ä ë ö ü á í é ó ú à è ì ò ù â ê î ô û ç > > > > '); > > > > > results: > > > > _õ_ _oe_ae_e_oe_ue_a_i_e_o_u_a_e_i_o_u_a_e_i_o_u_c > > > > > the first three chars do not work, the first and second are used many > > > > times in Portuguese language... > > > > > is this a bug? does anybody have a solution? > > > > > best regards, 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
