View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0038079||Lazarus||IDE||public||2020-11-14 09:12||2020-11-15 06:03|
|Reporter||Чигрин Виталий||Assigned To|
|Summary||0038079: Error when displaying in the Console window.|
|Description||National symbols are not displayed...|
This error appeared after Lazarus 1.8.0 (before that there was another Console window, and there was no error).
The Error is probably present on all platforms. I checked only Linux.
P.S. Earlier, a similar error was under Windows. This interfered with the OutputDebugString() function. However, after my letter, it was eliminated. Now it has reappeared.
|Tags||No tags attached.|
|Fixed in Revision|
Debian GNU/Linux 10.6 buster. GNOME 3.28
Lazarus 2.1 SVN
||Works here as expected. Please upload a project to reproduce the issue.|
Unfortunately Your example doesn't work for me...
This problem occurs not only in Manjaro but also in Linux Mint. In both cases, the KDE desktop.
I can't put .deb packages in Manjaro. I use the AUR repository. And there lies this version of Lazarus.
Tell me how you can solve the problem on Manjaro KDE?
In General, this problem occurs only in the IDE window. If you just run the compiled program in the Linux Terminal, everything works fine (national characters are output).
К сожалению Ваш пример у меня не получается...
Эта проблема возникает не только в Manjaro но и в Linux Mint. В обоих случаях рабочий стол KDE.
В Manjaro я не могу поставить .deb пакеты. Пользуюсь репозиторием AUR. А там лежит эта версия Lazarus.
Подскажите как можно решить проблему на Manjaro KDE?
Вообще эта проблема возникает только в окне IDE. Если просто запускать откомпилированную программу в Терминале Linux, то всё работает нормально (национальные символы выводятся).
Scr2.png (300,395 bytes)
For Juha Manninen,
tell me, which Linux do you use? Just when the console IDE window was redesigned (like Yours), this problem occurred. Before that, it was normal.
Looks like default font for console window of your Lazarus version does not have Cyrillic support.
Use Lazarus 2.1 from SVN/Git
> which Linux do you use?
Sorry I forgot to mention, I also use Manjaro Linux with KDE Plasma.
I tested with Lazarus built for QT5 and GTK2 bindings and it works always.
> Just when the console IDE window was redesigned (like Yours), this problem occurred.
Actually I don't know when it was redesigned. I never use the console output window myself.
Just a note: If I select Output Style: "CO as Control Pictures" or "CO as ISO 2047", then I get question marks as you did.
Please test with Lazarus trunk. Does it behave the same?
> I use the AUR repository. And there lies this version of Lazarus.
Lazarus 2.0.10 is in Manjaro's main repository, not in AUR. Apparently AUR does not have Lazarus trunk but you can get it by other means easily.
> Lazarus 2.0.10 is in Manjaro's main repository, not in AUR.
In fact, I don't remember exactly where I put it. I remember from the repository. I don't know which one.
I don't really know how repositories work.
In Ubuntu and Linux Mint, I installed from deb-packages that I downloaded on the official Lazarus website. But Lazarus versions older than 1.6 worked the same way (they didn't display the Cyrillic alphabet).
> Does it behave the same?
Yes! Similarly. But also selecting "Unformatted" - I get question marks. (that is, always-with any choice)
I'm not sure that installing Lazarus 2.1 from Git will help. And where to get this latest version like 2.0.10?
I tried to install the version for Qt, it failed when the code editor was working. Then I erased it and installed it for gtk-2. It seemed to work steadily.
> I'm not sure that installing Lazarus 2.1 from Git will help. And where to get this latest version like 2.0.10?
Manjaro repository has the latest version (currently 2.0.10).
How did you install Lazarus 2.1 (trunk)? Actually you don't need to install it. Just get the sources from SVN or Git, then build it and start from console.
Sorry, I don't know much English. I use Yandex translator.
I have version 2.0.10 (from the repository)
Anton Kavalenka advised me to install 2.1 from Git. So I want to find it (I don't have it). And I want to know if there will be a result.
|2020-11-14 09:12||Чигрин Виталий||New Issue|
|2020-11-14 09:12||Чигрин Виталий||File Added: Scr.png|
|2020-11-14 09:30||Anton Kavalenka||Note Added: 0126910|
|2020-11-14 09:30||Anton Kavalenka||File Added: Здымак экрана, 2020-11-14 11-28-40.png|
|2020-11-14 09:30||Anton Kavalenka||Note Edited: 0126910||View Revisions|
|2020-11-14 11:56||Juha Manninen||Note Added: 0126917|
|2020-11-14 11:56||Juha Manninen||File Added: ConsoleOutput.png|
|2020-11-14 14:03||Чигрин Виталий||Note Added: 0126922|
|2020-11-14 14:03||Чигрин Виталий||File Added: Scr2.png|
|2020-11-14 14:05||Чигрин Виталий||Note Edited: 0126922||View Revisions|
|2020-11-14 14:18||Чигрин Виталий||Note Added: 0126923|
|2020-11-14 16:47||Anton Kavalenka||Note Added: 0126929|
|2020-11-14 16:53||Juha Manninen||Note Added: 0126931|
|2020-11-14 16:54||Juha Manninen||Note Edited: 0126931||View Revisions|
|2020-11-14 17:10||Juha Manninen||Note Edited: 0126931||View Revisions|
|2020-11-14 18:16||Чигрин Виталий||Note Added: 0126938|
|2020-11-14 18:16||Чигрин Виталий||File Added: Scr-C0 as Control Pic.png|
|2020-11-14 18:16||Чигрин Виталий||File Added: Scr-C0 as ISO.png|
|2020-11-14 18:22||Чигрин Виталий||Note Edited: 0126938||View Revisions|
|2020-11-14 21:56||Juha Manninen||Note Added: 0126943|
|2020-11-15 06:03||Чигрин Виталий||Note Added: 0126951|