Fix to allow non ascii characters to be used in strings