[Idle-dev] Other language character sin python IDLE

Beni Cherniavsky-Paskin beni.cherniavsky at gmail.com
Mon Feb 14 07:14:32 EST 2022


FWIW on linux (fedora 35, gnome on Xorg, python & IDLE 3.10.2, Tk 8.6.10)
it seems to generally not type anything non-ascii.
I added a "Tamil (TamilNet 99))" layout and I can't type any tamil letters
into IDLE — nothing happens unless it's a digit or punctuation shared with
ASCII.
But same happens with my Hebrew and Russian layouts!

Copy-paste of all these languages from other apps works.

Sorry, I don't know enough about Tk[inter] to help, other than confirming
this.
I tried another random python/Tkinter app (`tkconch`) and it has same
behavior in a single-line text input.
However, `git citool` which is non-python pure Tk lets me type all the
above languages into a single-line text input.

пт, 4 февр. 2022 г. в 00:25, Terry Reedy <tjreedy at udel.edu>:

> On 2/2/2022 2:38 PM, Mailvaganasundaram Ram Mohan wrote:
>
> > For many years I use python to teach programming to kids. But I am
> > unable to type our Tamil language characters (such as அ, ஆ, இ, ஈ) in the
> > IDLE. I can type in other editors and copy back IDLE, but directly
> > typing in shell or IDLE is not possible.
>
> This is mostly not an IDLE issue. Your keyboard talks to your OS, which
> talks to the tk gui framework, which talks to python's tkinter module,
> which talks with IDLE.  IDLE's only effect should be setting the font
> and size to use.
>
> What OS are you using?  On Windows, I installed Tamil(India) support.
> In IDLE I typed some random letter keys after switching to Tamil input.
>
>  >>> for c in 'ம்பதம்பதபமதப்பம':
> ...     print(hex(ord(c)))
> ...
> 0xbae
> 0xbcd
> 0xbaa
> 0xba4
> ...
>
> Tamil has some extra wide characters that can interfere with editing.
> That is a limitation of the tk Text widget.
>
> For more help, you might post to python-list.
> https://mail.python.org/mailman/listinfo/python-list
>
> --
> Terry Jan Reedy
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> https://mail.python.org/mailman/listinfo/idle-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/idle-dev/attachments/20220214/ff2dd178/attachment.html>


More information about the IDLE-dev mailing list