I don't know the title that suits my situation.
data=[]
for title in titles:
real_title = ''.join(str(title.text).split())
print(real_title)
data.append(real_title)
with open(os.path.join(BASE_DIR, 'result.json'), 'w+') as json_file:
json.dump(data, json_file)
when python ~~.py, result is very well. print(real_title) show
이스케이프룸
but when I open json_file:
"\uc774\uc2a4\ucf00\uc774\ud504\ub8f8"
What's the problem? Why utf-8 letter is literally saved to utf-8?