1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Off topic? I get É and not é.

Discussion in 'Support' started by Rodolfo, Nov 20, 2012.

  1. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I am Italian and so I use an Italian keyboard.
    After "qwertyuiop" there is a key that has "è" if pressed alone, "é" if pressed with shift, "[" if pressed with alt gr, and "{" if pressed with shift AND alt gr.
    The "issue" is that in TakeCommand and in TCC, if I press shift and that key I get "É", the uppercase accented letter, instead of the lowercase accented one. All other combinations seem to be ok.
    So far it seems to me that this "issue" appears only in TakeCommand and in TCC.
    I tried in command prompt and in powershell and they are ok, also word and notepad and wordpad are ok.
    Is it possible that I have set up something that changes this?
    How can I troubleshoot it?

    Thank You very much and regards

    Rodolfo Giovanninetti
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    Being Hungarian, I often use the "Hungarian 101-key keyboard", and have accelerator keys to switch between the US and the Hungarian keyboard (alt-shift-1 for US, alt-shift-2 for Hungarian). Note that as a US resident, I normally use the Hungarian keyboard only for word processing (both Word documents and website), so I just tested it for the first time at the TCC prompt (in a window, not a TCMD tab) and in Notepad. I found discrepancies analogous to those of the OP, some accented characters are not displayed correctly. Furthermore, Notepad has trouble also, though the displayed characters are often the box-drawing ones, instead of wrong or missing accentuation. There are no issues in MS Word.
     
  3. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Strange that TCC and CMD.EXE would give different results; does CHCP report the same code page in both?

    I wonder whether you could set up a keystroke alias as a workaround?
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    When you say "in TCC", do you mean a stand-alone TCC console window or TCC running in a Take Command tab window? If it's a stand-alone TCC console window, the issue is not going to be with TCC (or Take Command). The keyboard input and the text output in the console window is handled by the Windows console manager, not TCC.

    Are you using a raster font or a Unicode font?
     
  5. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    It's the same in both, it's 850.
    I will try to work with a keystroke alias.

    Thank You and regards

    Rodolfo Giovanninetti
     
  6. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I mean both. I get this strange issue in TCC stand-alone and in TCC inside TakeCommand.
    In command prompt and in powershell it works, both as stand-alone and as tabs inside TakeCommand.
    Also, the issue appears if I press shift+è, but also if I type é in notepad, I select and copy it, and then I paste it. Again, command prompt and powershell work, inside or outside TakeCommand, TCC shows É. If I do the opposite, if I type shift+è in TCC, copy the resulting É and then paste in another application, it stays as É.
    Generally I use Lucida Console, I tried to change to a raster font with no result.

    Thank You and regards

    Rodolfo Giovanninetti
     
  7. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    This pretty much has to be an issue with the Windows console APIs. (TCC uses different APIs for reading the keyboard & writing to the display than CMD does.) I'll see if I can reproduce it here, but it's unlikely that I'll be able to do anything about it.
     
  8. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    I can confirm the same exact behavior that Rodolfo reports in #1. TCC 14.02 console on Win XP SP3 Pro English edition with Italian keyboard driver and English US keyboard (toggle the driver with ALT+SHIFT). CHCP 850/1250 makes no difference. CMD console and Notepad2 work correctly, SHIFT+[è] produces lowercase e-acute.
    I never noticed this issue before because I normally use a US keyboard driver and US keyboard, and type the occasional accented characters with the help of an Autohotkey script I wrote. Rodolfo you're welcome to the script if you need a work-around.
     

Share This Page