http://qs321.pair.com?node_id=971074

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!