Hi,
with your problem description being a bit vague, there are a few
points where you might be going wrong:
1) The encoding of the file you're reading - you said you changed it
to iso-8859-1, which might be fine - you can check if it displays
correctly in e.g. Eclipse. However, when working with GWT I would
suggest always working with UTF-8 if possible to avoid most encoding
problems
2) I guess you're reading the file on the server. It will quite
probably run using UTF-8 as default encoding, which you can check e.g.
with System.getProperty("file.encoding"). The encoding when reading
the file needs to match the encoding of the file itself, you can
specify that in your InputStreamReader's (or however you read the
file) constructor.
3) The encoding of data coming from the server needs to match the
content-type meta tag in your app's HTML page
Hth,
Matt
On 18 Mai, 10:46, laurent <[email protected]> wrote:
> I've a problem when i try to print accents.My application parse a csv
> file with the persons(first-lastName).Some having like
> Véronique,Benoît,...
> With Eclipse, doing click-droit, 'properties', 'Resources', i change
> to iso-8859-1.It's the same for firefox but never doing. I've a
> printing with a question mark inside a little square.
>
> Thanks for your request
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group
> athttp://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.