Uploaded image for project: 'Spring Data REST'
  1. Spring Data REST
  2. DATAREST-686

resourceDescriptionMessageSource does not support UTF-8 property files

    XMLWordPrintable

    Details

      Description

      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");.

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            Ungomma Ilya Novoseltsev
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: