Skip to content Skip to sidebar Skip to footer

How To Print A Variable Having Non-english Characters To The Command Prompt Using Python

I have a python program that generates a string in Tamil language. For example, the string could be தமிழ் . I could write this exactly as it appears here to a text file b

Solution 1:

  1. Go to Region & Language Settings via the Search Bar and add the Tamil language. Below I have added Chinese as an example because I am studying it:

Languages section of Settings

  1. Open a terminal and make sure your language is selected in the language bar:

Language selection in notification area

  1. Open the "Command Prompt" properties and make sure to select one of the new fonts that should appear to support your language.

Command prompt Properties

  1. Type something in the language to test it:

command prompt example

Post a Comment for "How To Print A Variable Having Non-english Characters To The Command Prompt Using Python"