This part of code puts the characters in a column and when exported it shows ?? in their place.


Where can i set the utf-8?

  • 1
    Can you make a working self-contained minimal example please? It shouldn't be too many lines, just enough to create a GeoPandas array with one or two features – Spacedman Jul 13 '18 at 9:07

Just use dff. to_file(out,encoding='')and where is the encoding try your language specific versions until you find it.

  • 2
    I'd still like to see a fully working example of this because I can't make this work if I put some non-ascii strings into a pandas df. – Spacedman Jul 13 '18 at 10:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.