Hi Stephen,
I tried to modify search.py as you said , my Splunk is 4.1.6 , there is some different in the source code, I think maybe it is not the right place to add code , anyway I tried to add your code as below, restart splunk services , search something , export result as csv file, open csv file using Excel 2008 ... Excel still doesn't recognise chinese words (grabeled)
# pass through the search options
output = job.getFeed(asset, **kwargs)
if 'isDownload' in kwargs:
import codecs
output = "".join((codecs.BOM_UTF8, output))
... View more