Ticket #20 (closed defect: fixed)
BytesToUTF8 has incorrect behavior when buffer contains incomplete code point
| Reported by: | frank | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Orbited JavaScript | Version: | Orbited 0.6.0 |
| Keywords: | Cc: |
Description
rgl says: http://orbited.org/browser/branches/0.5/daemon/orbited/static/protocols/stomp/stomp.js#L21 does not seem to work when a unicode code point is a multi-byte one and we receive them in multiple calls; I think the translation from bytes to unicode should be made after we detect the end of headers and the end of frames.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.