Change script to resolve error UnicodeEncodeError: 'ascii' codec can't encode character '\u0103' in position 19: ordinal not in range(128)