Converting string formatters to unicode to prevent encoding issues