Article View: borland.public.jbuilder.java.language
Article #8222Re: Unicode Conversion - More problem definition
From: Harry Whitehouse
Date: Fri, 13 Apr 2001 21:38
Date: Fri, 13 Apr 2001 21:38
14 lines
1478 bytes
1478 bytes
I thought I would be cute and write a conversion routine to migrate the unicode characters back to the original 8 bit bytes. But my little test program shows that a several of 8 bit values in the x80 through x9F range are translated to the same unicode value! For instance \x81 = \uFFFD \x8D= \uFFFD \x8F= \uFFFD \x90= \uFFFD So it appears I must find a way to read these bytes "correctly" from the get-go! Any ideas would be appreciated! Harry
Technical Details
Message-ID:
<3ad771e7_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ad4f06c$2_2@dnews> <MPG.154086682953719398a11d@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,eba31f969c5fae3c X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-13 14:44:04 PST From: "Harry Whitehouse" <harry@envmgr.com> Newsgroups: borland.public.jbuilder.java.language References: <3ad4f06c$2_2@dnews> <MPG.154086682953719398a11d@forums.borland.com> Subject: Re: Unicode Conversion - More problem definition Date: Fri, 13 Apr 2001 14:38:55 -0700 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 38.168.115.135 Message-ID: <3ad771e7_2@dnews> X-Trace: dnews 987197927 38.168.115.135 (13 Apr 2001 14:38:47 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews