Copy link to clipboard
Copied
Gidday
I'm connect ing to another app using sockets, and we've discovered that we need to set up my end so that it sends and receives unicode, as it doesn't seem to be doing so by default.
Is it possible, and if so, what do you change or set up?
Thanks for your time and help.
You can use socket.writeMultiByte to write unicode.
It's like: socket.writeMultiByte("My string", "unicode");
Here's a list of all supported character codes:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/charset-codes.html
Copy link to clipboard
Copied
You can use socket.writeMultiByte to write unicode.
It's like: socket.writeMultiByte("My string", "unicode");
Here's a list of all supported character codes:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/charset-codes.html
Copy link to clipboard
Copied
Perfect - thank you mate!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now