On Tue, Dec 23, 2008 at 2:35 AM, biosmonkey <[email protected]> wrote:
> I have a need to take a string that is encoded as hex bytes and decode
> it into a utf8 string.

> For example, the sequence:
> e8 8b b1 e8 aa 9e
> should display two Japanese characters.

You could do this:

      var s:String = decodeURIComponent("%e8%8b%b1%e8%aa%9e");
      trace(s);

Or try the ByteArray class (probably better).

-- 
http://manishjethani.com/

Reply via email to