[keycloak-user] Template properties file encoding

Iván Perdomo ivan at akvo.org
Thu Jan 8 09:15:29 EST 2015


Hi,

On Thu, 08 Jan 2015 14:41:13 +0100
Peter Bardáč <bardacp at gmail.com> wrote:

> I want to use UTF-8 encoding in keycloak theme but I have problem
> with messages.properties file.

Java properties are expected to be encoded using "ISO 8859-1"

> "is assumed to use the ISO 8859-1 character encoding; that is each
> byte is one Latin1 character. Characters not in Latin1, and certain
> special characters, are represented in keys and elements using Unicode
> escapes as defined in section 3.3 of The Java™ Language
> Specification."

http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load%28java.io.InputStream%29

My five cents,

-- 
Iván



More information about the keycloak-user mailing list