Posts: 8
Threads: 2
Joined: Oct 2019
Hi everyone.
I want to print and type Vietnamese string on terminal window.. but I could not printed it.
sample text : print("Tôi là người việt nam")
How to do that ?
Thanks in advance!
Posts: 8,160
Threads: 160
Joined: Sep 2016
Oct-29-2019, 09:47 AM
(This post was last modified: Oct-29-2019, 09:53 AM by buran.)
what is the problem
>>> print("Tôi là người việt nam")
Tôi là người việt nam
Posts: 8
Threads: 2
Joined: Oct 2019
Oct-29-2019, 10:02 AM
(This post was last modified: Oct-29-2019, 10:02 AM by hadoan.)
(Oct-29-2019, 09:47 AM)buran Wrote: what is the problem
>>> print("Tôi là người việt nam")
Tôi là người việt nam Hi Bro.
sorry, how to attached picture into this thread ?
Posts: 8,160
Threads: 160
Joined: Sep 2016
you still don't have privilege to attach files
copy/paste your code and the output you get, in proper tags
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.
Posts: 2,125
Threads: 11
Joined: May 2017
Oct-29-2019, 10:15 AM
(This post was last modified: Oct-29-2019, 10:16 AM by DeaD_EyE.)
Python has full Unicode support.
s1 = "Xin chào, tên tôi là Andre."
s2 = "您好,我叫安德烈。"
s3 = "שלום, שמי אנדרה."
s4 = "Здравствуйте, меня зовут Андре."
s5 = "مرحبا ، اسمي اندريه."
print(s1)
print(s2)
print(s3)
print(s4)
print(s5) I'm not sure if the strings s3 and s5 are printed from left to right.
Output: Xin chào, tên tôi là Andre.
您好,我叫安德烈。
שלום, שמי אנדרה.
Здравствуйте, меня зовут Андре.
مرحبا ، اسمي اندريه
Posts: 8
Threads: 2
Joined: Oct 2019
Oct-30-2019, 12:53 AM
(This post was last modified: Oct-30-2019, 01:23 AM by hadoan.)
Output:
(Oct-29-2019, 10:08 AM)buran Wrote: you still don't have privilege to attach files
copy/paste your code and the output you get, in proper tags
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.
Print("Tôi là người việt nam") Output: Print("Tôi là người việt nam")
(Oct-30-2019, 12:53 AM)hadoan Wrote: Output:
[quote='buran' pid='95597' dateline='1572343700']
you still don't have privilege to attach files
copy/paste your code and the output you get, in proper tags
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.
Print("Tôi là người việt nam")
(Oct-29-2019, 10:15 AM)DeaD_EyE Wrote: Python has full Unicode support.
s1 = "Xin chào, tên tôi là Andre."
s2 = "您好,我叫安德烈。"
s3 = "שלום, שמי אנדרה."
s4 = "Здравствуйте, меня зовут Андре."
s5 = "مرحبا ، اسمي اندريه."
print(s1)
print(s2)
print(s3)
print(s4)
print(s5) I'm not sure if the strings s3 and s5 are printed from left to right.
Output: Xin chào, tên tôi là Andre.
您好,我叫安德烈。
שלום, שמי אנדרה.
Здравствуйте, меня зовут Андре.
مرحبا ، اسمي اندريه
Hi Bro
My Python version 3.7.4
When I print Vietnamese string into terminal, the string error font .
I don't know which module need to installed on my python.
Posts: 8
Threads: 2
Joined: Oct 2019
Thanks you all of you!
I have fixed this issue
|