Re: Inflector::slug not working with German umlauts

2009-08-20 Thread Taff
Thanks very much. For anyone else: seemed to solve the problem. Cheers, Taff On Aug 20, 2:16�pm, "euromark (munich)" wrote: > 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 wrote:

Re: Inflector::slug not working with German umlauts

2009-08-20 Thread majna
There's some code to convert chars here: http://bakery.cakephp.org/articles/view/sluggable-behavior On Aug 20, 1:27 pm, Taff 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 spac

Re: Inflector::slug not working with German umlauts

2009-08-20 Thread euromark (munich)
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 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 äöüß. > > Al

Inflector::slug not working with German umlauts

2009-08-20 Thread Taff
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);