I am using Marino Iglesias’ SluggableBehavior to generate slugs while saving entries.
Now, since my blog will also have some German posts, slugging should also work with Umlauts such as ä,ü,ö. E.g., “Schöne neue Welt” should become “schoene-neue-welt”.
Right now, it becomes “sch-ne-neue-welt”. I am thoroughly using utf-8 as my encoding – files, database, everything, so that should not be the reason.
I do not really understand what happens in the code, but the conversion between ö to oe for example should be included, from what I see in the code.
Anybody has ever dealt with this kind of problem?
should not be a problem with any of the newer versions.
try this one:
https://github.com/dereuromark/cakephp-tools/blob/master/Model/Behavior/SluggedBehavior.php
I use it in all projects without issues.