Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3501
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "tar" <tar@THRWHITE.remove-dii-this> |
| Subject | Re: Can't display UTF-8 e |
| Message-ID | <ymi1w43v8yp.fsf@blackcat.isi.edu> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <f1be58a9-aa85-4900-a781-2ebba6655e76@8g2000hse.googlegroups.com> |
| References | <f1be58a9-aa85-4900-a781-2ebba6655e76@8g2000hse.googlegroups.com> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 21 |
| Date | Wed, 27 Apr 2011 15:45:15 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303919115 96.60.20.240 (Wed, 27 Apr 2011 10:45:15 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:45:15 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:3501 |
Show key headers only | View raw
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