Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3501
| From | "tar" <tar@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Can't display UTF-8 e |
| Message-ID | <ymi1w43v8yp.fsf@blackcat.isi.edu> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <f1be58a9-aa85-4900-a781-2ebba6655e76@8g2000hse.googlegroups.com> |
| Date | 2011-04-27 15:45 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui jgricourt@free.fr writes: > Your example works for me too ! But unfortunately this is not what I > am trying to do. I got a text string from a UTF-8 encoded file and > after reading the file I set a String with the text content in order > to display in a JLabel. Do you actually have a text string? Or just an array of bytes? I would have thought that any string you get back from reading the UTF-8 file would be a proper Java 16-bit Unicode string. Why isn't it? How do you get your text string? -- Thomas A. Russ, USC/Information Sciences Institute --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Can't display UTF-8 e "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
Re: Can't display UTF-8 e "jgricourt" <jgricourt@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
Re: Can't display UTF-8 e "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
Re: Can't display UTF-8 e "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
Re: Can't display UTF-8 e "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
Re: Can't display UTF-8 e "jgricourt" <jgricourt@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
csiph-web