Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #14 from catoc/0.7.x

 use decodeURIComponent() instead of unescape() to support multibyte data
  • Loading branch information...
commit bc2d2de4321027ca1a8a844997e2d59b8a9d27a0 2 parents f3c43a3 + 171bbdd
Simeon Bateman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/pnwrain/flashsocket/FlashSocket.as
View
2  src/com/pnwrain/flashsocket/FlashSocket.as
@@ -193,7 +193,7 @@ package com.pnwrain.flashsocket
if ( data.type == "message" ){
this._setTimeout();
- var msg:String = unescape(data.data);
+ var msg:String = decodeURIComponent(data.data);
if (msg){
this._onMessage(msg);
}
Please sign in to comment.
Something went wrong with that request. Please try again.