Possible fixes for an NLS problem?

Andrew Waterman <[email protected]> Fri, 08 Dec 2006 10:26:26 -0800
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi,

A colleague of mine is running into some issues with nist-sip with non 
ascii characters.  We are working with sipUnit, which uses nist-sip as 
its sipstack. She wrote:

> I found there is a issue in nist-sip-1.2.jar ( a thirdparty package). 
> In class _gov.nist.javax.sip.parser.PipelinedMsgParser_, its readline 
> method may cause NLS issue. This method will read bytes[] from 
> response inputstream, but as it casts a byte to char directly, it may 
> cause garbage because message headers are encoded in UTF-8 and can 
> contain non ASCII characters.
Is this a known issue that you guys may have seen before?  I believe we 
can propose a fix, but I'm not sure where we should send that into 
either. :-)  Any suggestions would be really helpful. :-)

best wishes,

Andrew

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip