I am having no problem converting a string to a byteArray of UTF-16 encoded characters, but the application I am trying to communicate with (written in Erlang) only understands Latin-1 encoding. Is there any way of producing a byteArray full of Latin-1 character codes from a string within Actionscript 3?
相关问题
- garbage collection best practices
- How to load flex swf from flash?
- FlashDevelop Haxe (Flash) debugger
- Is “new” in Erlang part of the official standard a
- how to create a keep-alive process in Erlang
相关文章
- How do I modify a record in erlang?
- Check active timers in Erlang
- undefined function maps:to_json/1
- Are there any benefits when using final in AS3?
- Trace on Chrome/Browser console
- How to convert datetime() to timestamp() in Erlang
- as3 ByteArray to Hex (binary hex representation)
- About Collision detection alghorithms in AS3
byteArray.writeMultiByte(string, "iso-8859-1");
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/ByteArray.html#writeMultiByte()