1

Do we have any encoding options for Japanese, like we have 'ISO-8859-1' for European characterset:

df = pd.read_csv("Raw_data.csv",encoding="ISO-8859-1",dtype='str') 

If I am using this encoding option for a file with Japanese characters, I am getting output as a string of many question marks.

Tux Lover
  • 11
  • 2

1 Answers1

2

You can use cp932 encoding to read the Japanese Text.

df = pd.read_csv("Raw_data.csv",encoding="cp932")

Here is the link of Codec for Japanese.

You can also find codec for other language as well python docs

Akib Khan
  • 116
  • 1
  • 5