0 Replies Latest reply on Oct 25, 2007 3:58 AM by igroeg

    writeMultiByte does not work on linux

    igroeg
      Hi,

      I have the following very strange problem on linux:

      Debian GNU/Linux Lenny (testing)
      Flash Plugin version: 9.0.48
      Browser: Firefox

      The following does not work:

      var byteBuff:ByteArray = new ByteArray()
      byteBuff.writeMultiByte(msg, "utf-8")
      byteBuff.writeByte(0)

      Even when msg is non-empty string in byteBuff only the final '0' byte is written. The same thing works on windows. I've tried it with the Debian-packaged plugin and with the plugin available for download on this site. It does not work.

      Any ideas?