I was stuck again when I actually tried printing out Korean using Python. I had to to use u’something in Korean’. See the below example. Here is another example with regex.
Category: Python
Get Python to print out another language (Korean) – part 1
I was not able to get Python to print out Korean. I learned that Python uses ASCII encoding by default, and Korean cannot be read using ASCII. I just added the below code at the very beginning of the file and the problem was fixed. The code tells Python that the Python script is encoded… Continue reading Get Python to print out another language (Korean) – part 1