|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
My Solution: Tk Entry & Right Single Quoteby cmv (Chaplain) |
| on Apr 15, 2024 at 22:37 UTC ( [id://11158876]=note: print w/replies, xml ) | Need Help?? |
|
Folks-
As usual, the final solution was a bit more complicated than I thought, but I wanted to provide a final update in case others have the same issue. The attached code shows what I did in order to translate unicode characters into ASCII with Text::Unidecode. This will translate the entire string on each keystroke, and works with cut-n-paste as well. NOTE: when using a text variable for the text in the entry, you cannot simply re-assign text to it in the validatecommand() sub. One trick is to use afterIdle() to do that later. Thanks again to all for the help! Craig
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||