fix wrong text econding bug when using non-iso charater.