sipml5
sipml5 copied to clipboard
When Unicode characters are received, the message being passed is null
I noticed that it Unicode characters are passed the event raised by sipml passed empty message. Though the websocket frame shows the exact message.
Here are test strigs
"!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^`abcdefghijklmnopqrstuvwxyz{|}~"cª«¬-r_°±²3'µ·,1º»¼½¿AAAAÄÅÆÇEÉEEIIIIDÑOOOOÖxOUUUÜY_ßàáâaäåæçèéêëìíîïdñòóôoö÷oùúûüy"
"दैनिक जागरण"
Stack Trace
chat.js:158 Uncaught TypeError: Cannot read property 'replace' of null at Object.message (chat.js:158) at SIPml.Stack.listener (chat.js:246) at SIPml.Stack.SIPml.EventTarget.dispatchEvent (Sipml-api.js:1) at tsip_stack.o_stack.on_event_message (Sipml-api.js:1) at Sipml-api.js:1