[keycloak-user] Keycloak user data encoding

Stian Thorgersen sthorger at redhat.com
Tue Jul 12 09:37:07 EDT 2016


Why are you saying the default encoding is ISO-8859-1? All forms are
encoded as UTF-8 and all strings passed to the database should be UTF-8
encoded as well.

The only thing that is ISO-8859-1 is the message properties, but those are
converted to UTF-8 when added to HTML pages.

On 12 July 2016 at 14:58, Igor Zuk <igor.zuk at qualitytaskforce.com> wrote:

> Hi
>
>
>
> I have an encoding problem. By default users' data fields (e.g. first name
> and last name) are encoded using ISO-8859-1. People from many countries
> can't properly create accounts as their personal data is silently messed
> up. How can I fix it?
>
> ·         The MySQL DB receives already damaged names. By default all
> columns are ISO-8859-1-encoded, but manually converting them to UTF-8
> doesn't help.
>
> ·         Manual account modification from admin console has same effect.
>
> ·         Change of default server (Wildfly) encoding to UTF-8 doesn't do
> anything.
>
>
>
> Best regards
>
> Igor Żuk
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160712/580ea8d4/attachment.html 


More information about the keycloak-user mailing list