[keycloak-user] Why the encoding of Java properties files have been converted to UTF-8?

Stian Thorgersen sthorger at redhat.com
Thu Dec 17 10:37:21 EST 2015


IntelliJ displays the configuration you've configured for a properties
file, not the encoding of the actual file. There are no special headers or
anything for a properties file that sets the encoding of the file it's just
a matter of how special characters are encoded. If you look at the example
I pointed you to you can see it's clearly using ISO.. encoding and not
UTF-8.

On 17 December 2015 at 16:29, Jeandeson O. Merelis <jean.merelis at gmail.com>
wrote:

> Yep. But the file isn't realy ISO encoding.
> For instance, open that file with your Intelj and check the encoding
>
> 2015-12-17 12:32 GMT-02:00 Stian Thorgersen <sthorger at redhat.com>:
>
>> Look at the link I pasted that's in master - \u00FC clearly shows it's
>> using ISO encoding
>>
>> On 17 December 2015 at 15:20, Jeandeson O. Merelis <
>> jean.merelis at gmail.com> wrote:
>>
>>> Is your repository updated?
>>> I just new clone the keycloak again and the files are as UTF-8
>>>
>>> 2015-12-17 11:18 GMT-02:00 Stian Thorgersen <sthorger at redhat.com>:
>>>
>>>> Can you give me a specific example? All the files as I can see are ISO
>>>> encoded. For example:
>>>>
>>>> https://github.com/keycloak/keycloak/blob/master/forms/common-themes/src/main/resources/theme/base/account/messages/messages_de.properties#L58
>>>>
>>>> On 17 December 2015 at 12:06, Jeandeson O. Merelis <
>>>> jean.merelis at gmail.com> wrote:
>>>>
>>>>> Apparently all properties files in
>>>>> https://github.com/keycloak/keycloak/tree/master/forms/common-themes
>>>>>
>>>>>
>>>>> https://github.com/keycloak/keycloak/tree/master/forms/common-themes/src/main/resources/theme/base/account/messages/*.properties
>>>>>
>>>>>
>>>>> https://github.com/keycloak/keycloak/tree/master/forms/common-themes/src/main/resources/theme/base/admin/messages/*.properties
>>>>>
>>>>>
>>>>> https://github.com/keycloak/keycloak/tree/master/forms/common-themes/src/main/resources/theme/base/login/messages/*.properties
>>>>>
>>>>>
>>>>> https://github.com/keycloak/keycloak/tree/master/forms/common-themes/src/main/resources/theme/base/admin/messages/*.properties
>>>>>
>>>>> 2015-12-17 8:35 GMT-02:00 Stian Thorgersen <sthorger at redhat.com>:
>>>>>
>>>>>> Property files, including messages, should all be in ISO-8859-1.
>>>>>> Which files are encoded as UTF-8?
>>>>>>
>>>>>> On 12 December 2015 at 16:00, Jeandeson O. Merelis <
>>>>>> jean.merelis at gmail.com> wrote:
>>>>>>
>>>>>>> Why the encoding of Java properties files have been converted to
>>>>>>> UTF-8?
>>>>>>>
>>>>>>> We had decided that the default Java properties files would be
>>>>>>> ISO-8859-1
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Jeandeson O. Merelis
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> keycloak-user mailing list
>>>>>>> keycloak-user at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jeandeson O. Merelis
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Jeandeson O. Merelis
>>>
>>
>>
>
>
> --
> Jeandeson O. Merelis
>
> _______________________________________________
> 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/20151217/8da98370/attachment.html 


More information about the keycloak-user mailing list