I want to use Arabic language in my python app but it doesn't work. I tried the following:
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
.
.
.
welcMsg = 'مرحبا'
welcome_label = ttk.Label(header, text=welcMsg, font=(
"KacstBook", 24)).grid(row=0, column=0, pady=20)
I also tried to add
welcMsg = welcMsg.encode("windows-1256", "ignore")
but the result is always like this
and it also happens with tkinter Entry and Text
searchField = ttk.Entry(tab3, width=50)
textBox = Text(tab4, width=45, height=15, font=("KacstOffice", 16), selectbackground="yellow",
selectforeground="black", undo=True, yscrollcommand=text_scroll.set, wrap=WORD)
so is there anything else I can try to work with Label, Entry and Text?
NOTE: I am using Ubuntu 18.04 bionic

