[keycloak-user] UTF8 encoding prior v2.5

Hynek Mlnarik hmlnarik at redhat.com
Wed Jun 7 06:26:06 EDT 2017


It depends on what bug you are facing. Database encoding is one.
Another is that you need to pass the characterEncoding parameter to
the JDBC driver as described at Mysql section of [1].

[1] https://keycloak.gitbooks.io/documentation/server_installation/topics/database/unicode-considerations.html

On Wed, Jun 7, 2017 at 12:16 PM, Marc Tempelmeier
<marc.tempelmeier at flane.de> wrote:
> We are still facing the issue in the bug description, so we have the need :)
>
> Is the answer on so everything we have to change?
>
> -----Ursprüngliche Nachricht-----
> Von: Hynek Mlnarik [mailto:hmlnarik at redhat.com]
> Gesendet: Wednesday, June 7, 2017 12:05 PM
> An: Marc Tempelmeier <marc.tempelmeier at flane.de>
> Cc: keycloak-user at lists.jboss.org
> Betreff: Re: [keycloak-user] UTF8 encoding prior v2.5
>
> You don't need to change DB if latin1 satisfies your needs. Otherwise, there are few ways to change encoding in MySQL, see e.g.
> https://stackoverflow.com/questions/6115612/how-to-convert-an-entire-mysql-database-characterset-and-collation-to-utf-8
>
> --Hynek
>
> On Tue, Jun 6, 2017 at 3:44 PM, Marc Tempelmeier <marc.tempelmeier at flane.de> wrote:
>> Hi,
>>
>> we updated our Keycloak 2.4 to 3.1, there was a bug in 2.4:
>>
>> https://issues.jboss.org/browse/KEYCLOAK-3439
>>
>> Our database is still latin 1 though after the update, does anyone know what we should change that the data gets correctly into mysql?
>>
>> Best regards
>>
>> Marc
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>
> --
>
> --Hynek



-- 

--Hynek



More information about the keycloak-user mailing list