Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resourceDescriptionMessageSource does not support UTF-8 property files [DATAREST-686] #1058

Closed
spring-projects-issues opened this issue Sep 24, 2015 · 0 comments
Assignees
Labels
type: bug

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Sep 24, 2015

Ilya Novoseltsev opened DATAREST-686 and commented

The message source created in RepositoryRestMvcConfiguration.resourceDescriptionMessageSourceAccessor does not support property files with UTF8 symbols (e.g. cyrillic alphabet :)). Resource descriptions come out as garbage.

Other Spring message sources have no such problem.

That is easily fixed by adding messageSource.setDefaultEncoding("UTF-8");


Referenced from: commits 9689b67, 43366a3

Backported to: 2.4.1 (Gosling SR1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug
Projects
None yet
Development

No branches or pull requests

2 participants