Adds encoding to account for foreign characters