![]() For Turkish characters you need another encoding. The reason why the Twitter API returns only escaped characters is that it can use the ASCII encoding, which increases interoperability. JSON allows both "escaped" and "unescaped" characters. I tried two different type #!/usr/bin/env python Here are Unicode characters and Turkish characters which I want to replace. Is there any automatic option to replace characters by opening txt file, reading all data in file and changing Unicode characters with Turkish characters by Python? I don't want to do find/replace in Notepad++ by hand. I wrote tweets data in a text file and now I see Unicode characters instead of Turkish characters. ![]() I got data from Twitter with Stream API and the result of app is JSON file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |