Fixed encoding issues on windows phone