Tuesday, September 21, 2010

Re: GWT encoding problem

On 21 September 2010 07:26, Thomas Van Driessche
<thomas.van.driessche20@gmail.com> wrote:
> Hi,
>
> I have a problem that my values out of my properties files are not
> well displayed on the page in utf8.

http://download.oracle.com/javase/6/docs/api/java/util/Properties.html
(note the text about InputStream using ISO 8859-1). That *might* be
it.

> This is already done:
> <?xml version="1.0" encoding="UTF-8"?>
> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
> And the files in eclipse are saved using UTF-8.
>
> I tried to watch the files in the war file (build using maven), but i
> can't seem to find them back there?

unzip -l xyz.war will tell you what's inside the WAR.

> Because when i build i get the following warning:
>
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources,
> i.e. build is platform dependent!

http://maven.apache.org/general.html#encoding-warning

But this is just a warning, it doesn't stop Maven from copying the resources.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment