Fixed problem with strings can't compare another encoding.