added unicode support for test page

Signed-off-by: Gerald <gera2ld@163.com>
replaced argument name *text* with *data* since data is always raw

Signed-off-by: Gerald <gera2ld@163.com>