Forcing string encoding