logo       
Google Custom Search

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: ContentHander characters discrepancy: msg#00088

Subject: Re: ContentHander characters discrepancy
Carl Hume wrote:
        public void characters( char [] characters, int start, int length ) {
                byte[] charBytes = new byte[ characters.length ];
                for( int i=0; i<characters.length; i++ ) {
                        charBytes[i] = (byte)characters[i];

Is there any particular reason why you are stripping the
high byte off of each character you are processing (thus
destroying all non-ASCII characters)? Is this just for a
simple sanity test?

--
Andy Clark * andyc@xxxxxxxxxx



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>