Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将字符串转换为 UTF-16 编码字符的 byteArray 没有问题,但是我尝试与之通信的应用程序(用 Erlang 编写)只理解 Latin-1 编码。有什么方法可以从 Actionscript 3 中的字符串生成一个充满 Latin-1 字符代码的 byteArray?
byteArray.writeMultiByte(string, "iso-8859-1");
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/ByteArray.html#writeMultiByte()