I understand with JSF, work with locales.
Created 3 properties-files: messages.properties, messages_en_US.properties, messages_ru_RU.properties.
UTF-8 encoding.
Pointed in faces-config.xml:
<application> <resource-bundle> <base-name>nsl.messages</base-name> <var>msg</var> </resource-bundle> <locale-config> <default-locale>ru</default-locale> <supported-locale>ru</supported-locale> <supported-locale>en</supported-locale> </locale-config> </application> The page in the browser displays:

Changing the encoding through the browser settings does not give any result, the text does not change at all. I tried in IDE to experiment with different encodings of properties - there is no result either.
I use Intellij idea, launched on glassfish 4, tomcat, jetty.
Maybe someone had the same story? What setting I did not take into account?