Tulis dikt ke file json dengan karakter khusus

with open(filename, 'w', encoding='utf-8') as file:
    json.dump(data, file, ensure_ascii=False)
Lazy Lizard