I'm dealing with some german text data. I tried to save some metadata into a JSON file in python.
Here is how the metadata looks like(as you could notice, there are ä, ö characters):
{'pages': ['kitchwitch.ch_posts.csv', 'Sujetbaizinbasel_posts.csv', 'Guggenmusik-Moore-Schränzer-149777592206118_posts.csv', 'zueundrichproductions_posts.csv', 'glueckshof_posts.csv', 'Lieberockt_posts.csv', 'Pfadi-Schöftle-699078857125683_posts.csv'... with open('./gsw_fb_r1_metadata.json','w',encoding='utf8' )as f: json.dump(metadata,f) But when I open it with Sublime Text3, I get the following:
{"pages": ["kitchwitch.ch_posts.csv", "Sujetbaizinbasel_posts.csv", "Guggenmusik-Moore-Schra\u0308nzer-149777592206118_posts.csv", "zueundrichproductions_posts.csv", "glueckshof_posts.csv", "Lieberockt_posts.csv", "Pfadi-Sch\u00f6ftle-699078857125683_posts.csv", So the ö and ä are not displayed properly. How could I get them displayed normally as in Python? Is this problem linked to Sublime Text or to me? Thanks!