unicode question

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Jan 27 18:25:42 CET 2015


On 27/01/2015 16:13, random832 at fastmail.us wrote:
> On Tue, Jan 27, 2015, at 00:17, Rehab Habeeb wrote:
>> Hi there python staff
>> does python support arabic language for texts ? and what to do if it
>> support it?
>> i wrote hello in Arabic using codeskulptor and the powershell just for
>> testing and the same error appeared( a sytanx error in unicode)!!
>
> Python itself supports arabic just fine, but the MS Windows console in
> general, and Python's implementation of it in particular, have poor
> support for many aspects of unicode, so it's important to define exactly
> what you are trying to do.
>

People might find this http://bugs.python.org/issue1602 and hence this 
https://github.com/Drekin/win-unicode-console useful.  The latter is 
available on pypi.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list