Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Want to get Term::Complete to complete with Unicode UTF-8

by PerlBroker (Acolyte)
on May 17, 2012 at 15:01 UTC ( [id://971074]=perlquestion: print w/replies, xml ) Need Help??

PerlBroker has asked for the wisdom of the Perl Monks concerning the following question:

I am using Term::Complete in my shell based CRM system. And I get correctly the list for completion which is in Unicode. By pressing TAB I can see the unicode. But by pressing the actual symbol, such as ž I cannot see the Unicode symbol, but I get: ž instead and cannot complete more with the TAB. If anyone else knows better version for complete function, I am also interested.
  • Comment on Want to get Term::Complete to complete with Unicode UTF-8

Replies are listed 'Best First'.
Re: Want to get Term::Complete to complete with Unicode UTF-8
by naikonta (Curate) on May 17, 2012 at 15:42 UTC
    I guess it's concerned with readline, not the completion itself. Any chance to check on other Term:: modules like Term::ReadLine::Perl or Term::ReadLine::Gnu?

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

      It would be nice to get it working somehow. The Completion list works, as it shows correctly the Unicode characters. When I try typing, instead od ž it shows ž and only at the place where is the completion in question:
      Thetabiz CRM:c
      First name: ž
      Last name: 
      E-mail (1): 
      E-mail (2): 
      E-mail (3): 
      Mobile phone: ž
      Office phone: 
      Now complete
      Account (1): ž <-- here is completion and the list
      
      Any other clue?
        what shows when you type the character you want on the command line (not in your program input)?

        Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://971074]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found