Add callback demo.
add method to handle gb2312
update note