Fixed encoding issue with non-english characters and alphabets.