Case Solved!!
Thank you everyone!!
On 11 Fev, 07:33, Martin Westin wrote:
> Just my personal opinion:
> Making changes to the core has really not been a problem for me since
> I put Cake into a Git repo. I just have a branch with my changes in it
> and Git takes care of the merging.
>
> On Feb 1
Just my personal opinion:
Making changes to the core has really not been a problem for me since
I put Cake into a Git repo. I just have a branch with my changes in it
and Git takes care of the merging.
On Feb 10, 11:20 pm, jodator wrote:
> Psst, don't do that ;-) I think I saw a ticket about i
Psst, don't do that ;-) I think I saw a ticket about it and id would
not be fixed in 1.2 branch, but in 1.3 there should be an option to
add custom chars mapping.
Don't hack your core either, because it could cause problems when
upgrading, doing new stuff from fresh cake, etc. Make your own class,
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
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
Sorry, I know pretty much nothing about multibyte characters but you
should
take a look at mb_* functions at php.net
On Feb 10, 2:02 pm, PaulMan wrote:
> hello,
>
> echo Inflector::slug(' ã õ ï ö ä ë ö ü á í é ó ú à è ì ò ù â ê î ô û
> ç );
> what i want is to have the next result
> a_o_i_oe_ae_e
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,
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 wrote:
> echo Inflector::slug(' ã õ ï ö ä ë ö ü á í é ó ú à è ì ò ù â ê î ô û ç
> ');
>
>
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