Recent

Author Topic: [Linux] Cannot enter accented characters with keyboard  (Read 1997 times)

Roland57

  • Sr. Member
  • ****
  • Posts: 416
    • msegui.net
[Linux] Cannot enter accented characters with keyboard
« on: July 31, 2022, 02:06:15 pm »
Hello!

Here is what I get when I try to type "Hélène" in FP IDE.  :(

But when I open old source files with accented characters, the characters are correctly displayed.

Is it the expected behaviour?
 
My projects are on Gitlab and on Codeberg.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: [Linux] Cannot enter accented characters with keyboard
« Reply #1 on: July 31, 2022, 02:29:47 pm »
The text mode IDE does not support UTF-8 (this will improve with 3.3.1), however by default Linux terminals use UTF-8. Your older files are probably stored in some single Byte encoding (e.g. ISO-8859-1); take a look at them with a hex editor to check whether the accented characters consist of one or multi Byte.

So, yes, this is the expected behavior.

Roland57

  • Sr. Member
  • ****
  • Posts: 416
    • msegui.net
Re: [Linux] Cannot enter accented characters with keyboard
« Reply #2 on: July 31, 2022, 04:56:48 pm »
Thank you for the confirmation.
« Last Edit: July 31, 2022, 08:36:06 pm by Roland57 »
My projects are on Gitlab and on Codeberg.

 

TinyPortal © 2005-2018