Czech characters in console when using Free Pascal textmode IDE
Original Reporter info from Mantis: krouziciorel
-
Reporter name: Luděk Šťastný
Original Reporter info from Mantis: krouziciorel
- Reporter name: Luděk Šťastný
Description:
I am currently programming in Freepascal, with which I am very satisfied. I use Arch linux and MATE on my laptop, Lazarus works as I expect and I can easily insert Czech characters.
However, I often need to edit the source code in a Linux terminal without a graphical environment and I really like the console FP IDE. Although my console is enabled for UTF-8 in Czech and it runs smoothly, specific Czech characters á, é, í, ť, ň and so on are poorly displayed in this IDE, see appendix. In Windows or using WINE, everything is OK. I tried the international US keyboard or I was set Czech character map from UTF-8 to ISO-8859-2, but nothing helped.
Questions from discussion forums:
http://free-pascal-general.1045716.n5.nabble.com/CRT-unit-and-Windows-terminal-td5730061.html
http://forum.ubuntu.cz/index.php?topic=66982.0
(in Czech language)
did not help.
The problem generally occurs in Linux, I tried Arch, Debian, Slackware and SUSE, FP IDE probably ignores console settings and cannot insert UTF-8 specific characters.
Of course I can use eg Emacs in the console, but FP-IDE is a simple and fully usable environment (in development version 3.1 in Linux also works GBD, which I did not break in stable 3.0) and I would like to use it for programming.
Can I ask for a check or instructions on how to make Czech characters work?
Steps to reproduce:
Please install Czech keyboard and try this characters:
á, é, í, ť, ď
in FP-IDE
Mantis conversion info:
- Mantis ID: 35948
- OS: Arch Linux, Debian, Slackware
- Build: Arch linux official package
- Platform: Linux
- Version: 3.0.4
- Monitored by: » @xhajt03 (Tomas Hajny), » krouziciorel (Luděk Šťastný)