[Fixed]-Encoding a field result coming from a query

1👍

Try adding the below line at the beginning of your python script

# -*- coding: utf-8 -*-
👤Mani

0👍

Calling and replace the original field string for the next one works… field = unicode(field).encode(“utf-8”, “replace”)

Leave a comment