simb/FlashSocket.IO — Issue #10: Support for multibyte encodings
Author: AlexeyKupershtokh
Created: 2011-12-27 07:51:11+00:00
State: open

As we can see in our tests, multibyte data in Russian is not parsed by Flashsocket.io correctly. It's processed as a single byte encoding, therefore russian words sent from server as
"Ядерный перец"
accepted on the flash side as
"Ð¯Ð´ÐµÑÐ½ÑÐ¹ Ð¿ÐµÑÐµÑ¿" (note 2 times more symbols).

In our project we've resolved this issue by using decodeURIComponent() instead of unescape() function in Flashsocket.as sources.