I use Cyrillic symbols in my project.
My way to read Cyrillic symbols from the swagger-message.properties is here:
@Bean
public ResourceBundleMessageSource translator() {
ResourceBundleMessageSource source = new ResourceBundleMessageSource();
source.setBasenames("swagger-message");
source.setUseCodeAsDefaultMessage(true);
return source;
}
I want not to translate my words to unicode symbols. Is it possible to set encoding like UTF-8 for the beans?