I have an apostrophe as in
educator's, which is displayed as
eductaor's and prevents TeX from generating a pdf.
I have used this as well:
how can I fix that?
(Edit by Speravir – included from comment by OP)
I am writing the file with python like this with
open("mytable.tex", 'w') as out_f: out_f.write(output.encode('utf8')) that
output is displaying correctly in browser but its being written like that in file.