scrambled characters ’ are coming in because the UTF-8 character set. So please change character set to UTF-16
Problem statement
...xml version="1.0" encoding="utf-8" ...
Changed to
... xml version="1.0" encoding="utf-16" ...
the scrambled characters were gone.