fixed JSon.encode with utf8 chars for flash9-10 (close #2127)