encode unicode src, test added
Merge pull request #2867 from hden/2853

encode unicode src, test added