facebook

how to set correct character encoding in resource bundles

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #323880 Reply

    Juergen Ehms
    Member

    I’m using myeclipse for Spring and I successfully scaffold an excample with maven and gwt.

    now I like to adapt the german language to the scaffoldet resource boundle
    and like to use always UTF-8 encoding in the webapp.

    I added
    application-resources_de.properties as UTF-8 encoded

    as german language recource

    The resource is used with ?locale=de but
    I don’t get the correct special german characters in the browser.
    Plaese give me a advice, how to configure the bundles correct in MyEclipse.

    many thanks

    juergen

    #323916

    cconway
    Member

    The character encoding is specified in the JSP page. The scaffolded app uses Sitemesh to construct the pages. There is a file named header.jsp that is included in each scaffolded page that contains character encoding settings.

    The file can be found in the Sitemesh-common directory under WEB-INF.

    HTH

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: how to set correct character encoding in resource bundles

You must be logged in to post in the forum log in