Contributions 1 min read

# Fix to update object\_url\_slug to correct character set and collate

Check out our latest contribution the the Pimcore platform! Step by step, together we're building the ideal platform for the entire Pimcore community!

Last updated on 29 August, 2025

## Key takeaways

1. Pimcore's object URL slug table used the old utf8 encoding, so some characters available in utf8mb4 were not supported in slugs.
2. The fix changed the encoding and collation from utf8 to utf8mb4 to match the rest of the Pimcore database.
3. After the change, users can set URL slugs to any value within MySQL's length limit.

## **What was the issue?**

Problem was that the object URL slug was using old utf8 encoding and because of that, some slugs available in utf8mb4 weren’t supported.

## **How did you solve it?**

Encoding was changed from utf8 to utf8mb4 to match the rest of the database.

## **Why is this fix important?**

Because now user can set URL slug to anything he wants that is within length limitation of MySQL.

## **In your opinion, what’s the biggest advantage that Pimcore offers and other platforms don’t?**

I don’t have much experience with other platforms so this is kinda hard to answer, but the biggest advantage I see Pimcore provides is the versatility it has.

And if you want to check out this [pull request](https://github.com/pimcore/pimcore/pull/10723), just follow the link!

## Related

[Contributions **Localized error pages – new feature** Check out one of our biggest pull request that's now officially become a new Pimcore feature! 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/localized-error-pages) [Contributions **WYSIWYG: char counter and maxChar limit in datatype fix** Check out how one of our Pimcore developers helped improve Pimcore's WYSIWYG editor! 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/wysiwyg-char-counter-datatype-fix) [Contributions **Using localized field – lazy load fix** Check out how we fixed the issue with lazy load when using localized fields in Pimcore! 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/localized-field-lazy-load-fix)

---

Source: https://factory.dev/pimcore-knowledge-base/contributions/object-url-slug-fix
