probably the encoding...
save your file as UTF8 (!) and make sure everything else is set
correctly
it should work fine then

On 20 Aug., 13:27, Taff <[email protected]> wrote:
> Hey I'm using Inflector::slug to convert a name to a slug. The german
> version has numerous special characters in the form of äöüß.
>
> Although it replaces spaces with underscores it seems to completely
> ignore the special characters.
>
> $tmp = Inflector::slug(Treànd-ÖÜÄärömeter 2008: wird Öffis sein);
> returns
> Treànd_ÖÜÄärömeter_2008_wird_Öffis_sein
>
> I was hoping it would return
>
> Treand_oeueaeaeroemeter_2008_wird_oeffis_sein
>
> and from what I have read in the documentation, that should be the
> case. What am I doing wrong?
>
> Cheers,
> Taff
--~--~---------~--~----~------------~-------~--~----~
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