MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jge
Post subject: how to set correct character encoding in resource bundles  PostPosted: Mar 02, 2012 - 11:15 AM
Registered Member
Registered Member


Joined: Mar 02, 2012
Posts: 1

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
 
 View user's profile Send private message  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Mar 04, 2012 - 01:55 PM



Joined: Apr 04, 2011
Posts: 196

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

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits