Flex tutorial: Convert unicode (UTF16) to text, and vice verse

In contrary to most mashup api services that uses UTF8, Twitter returns non-Latin characters encoded in UTF16. After googling, seems like many people have issues with converting UTF16 encoded characters to proper text and vice verse. There might be other better ways, but here’s what I have done. Feel free to comment.

A UTF converter that I always used is this.

Demo:
Unicode Converter (view source enabled)

Source Codes
Right-click on application to view source.

  This blog is powered by WordPress with GimpStyle Theme design by Horacio Bella.