You don't have to do any conversion unless you can't change the encoding of your file. With GWT, I only have been able to display these characters correctly using utf-8 (as specified in the GWT i18n documentation). Even if your characters look OK in whatever software program you're looking at, if the file is not encoded in utf-8, most likely it won't display correctly within a GWT app.
On May 18, 8:04 am, Marcos Vinícius Soares <mavsoa...@gmail.com> wrote: > You will have to do some kind of conversion using table below before using > any text with accentuation. > > á = \u00e1 > à = \u00e0 > â = \u00e2 > ã = \u00e3 > ä = \u00e4 > Á = \u00c1 > À = \u00c0 > Â = \u00c2 > Ã = \u00c3 > Ä = \u00c4 > é = \u00e9 > è = \u00e8 > ê = \u00ea > ê = \u00ea > É = \u00c9 > È = \u00c8 > Ê = \u00ca > Ë = \u00cb > í = \u00ed > ì = \u00ec > î = \u00ee > ï = \u00ef > Í = \u00cd > Ì = \u00cc > Î = \u00ce > Ï = \u00cf > ó = \u00f3 > ò = \u00f2 > ô = \u00f4 > õ = \u00f5 > ö = \u00f6 > Ó = \u00d3 > Ò = \u00d2 > Ô = \u00d4 > Õ = \u00d5 > Ö = \u00d6 > ú = \u00fa > ù = \u00f9 > û = \u00fb > ü = \u00fc > Ú = \u00da > Ù = \u00d9 > Û = \u00db > ç = \u00e7 > Ç = \u00c7 > ñ = \u00f1 > Ñ = \u00d1 > & = \u0026 > ' = \u0027 > > Hope this helps. > > * Taken > fromhttp://programandosemcafeina.blogspot.com/2007/04/caracteres-especiai... > > > > > > On Tue, May 18, 2010 at 7:40 AM, Matt <mydevmailingli...@gmail.com> wrote: > > 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 <bagno_laur...@hotmail.com> 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 google-web-toolkit@googlegroups.com > > . > > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > > cr...@googlegroups.com> > > . > > > 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 google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://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 google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.