26 Апрель, 2024, 16:49:03
Добро пожаловать,
Гость
. Пожалуйста,
войдите
или
зарегистрируйтесь
.
1 час
1 день
1 неделя
1 месяц
Навсегда
Войти
English
Russian
Сайт СВД ВС
Начало
Помощь
Поиск
Войти
Регистрация
Официальный форум СВД Встраиваемые Системы
>
International Forum
>
English Discussion
(Модератор:
Андрей Сеньков
) >
Hello, Russian cannot correctly display in qnx4.25/pterm.
Страниц: [
1
]
Вниз
« предыдущая тема
следующая тема »
Печать
Автор
Тема: Hello, Russian cannot correctly display in qnx4.25/pterm. (Прочитано 5294 раз)
ffww
Интересующийся
Сообщений: 2
Hello, Russian cannot correctly display in qnx4.25/pterm.
«
:
05 Декабрь, 2015, 21:35:48 »
Create the hello.c file and save it as UTF-8 format
Main void ()
{
While (1)
{
Printf ("морыьт");
}
}
Compile and run on the console display garbled, how to solve? I put the file into UTF8 format, because we want to correct the output, Chinese Russian or Japanese
thanks....
Записан
Федор Жаров
Сотрудник СВД ВС
Интересующийся
Сообщений: 2
Re: Hello, Russian cannot correctly display in qnx4.25/pterm.
«
Ответ #1 :
10 Декабрь, 2015, 17:31:11 »
Hi,
For russian language support in QNX 4 you can use commercial product SWD Cyrrylic Pack
http://translate.google.com/translate?hl=ru&sl=ru&tl=en&u=http%3A%2F%2Fwww.swd.ru%2Findex.php3%3Fpid%3D140&sandbox=1
Or you can add cyrrilic fonts manually and specify correct encoding (CP866, CP1251, etc.) in pterm settings.
Best regards,
Fedor
Записан
Сотрудник СВД Встраиваемые Системы
ffww
Интересующийся
Сообщений: 2
Re: Hello, Russian cannot correctly display in qnx4.25/pterm.
«
Ответ #2 :
11 Декабрь, 2015, 19:09:14 »
Цитата: Федор Жаров от 10 Декабрь, 2015, 17:31:11
Hi,
For russian language support in QNX 4 you can use commercial product SWD Cyrrylic Pack
http://translate.google.com/translate?hl=ru&sl=ru&tl=en&u=http%3A%2F%2Fwww.swd.ru%2Findex.php3%3Fpid%3D140&sandbox=1
Or you can add cyrrilic fonts manually and specify correct encoding (CP866, CP1251, etc.) in pterm settings.
Best regards,
Fedor
Thank you very much, if you have to change the text into Chinese?
Записан
Федор Жаров
Сотрудник СВД ВС
Интересующийся
Сообщений: 2
Re: Hello, Russian cannot correctly display in qnx4.25/pterm.
«
Ответ #3 :
14 Декабрь, 2015, 13:04:45 »
You'll need Chinese font with ".phf" extension. Copy it in /qnx4/photon/font/, install with "fontcfg" utility and restart photon.
Also you'll need a charsets file with .cs extension. Use "ptermcs" utility for it. You can use encoding from the list of this utility.
Then select font and file of charsets in "Customize font list" of your pterm.
Best regards,
Fedor
Записан
Сотрудник СВД Встраиваемые Системы
Страниц: [
1
]
Вверх
Печать
« предыдущая тема
следующая тема »
Перейти в:
Пожалуйста, выберите назначение:
-----------------------------
Форум СВД ВС
-----------------------------
=> Информация
=> Техническая поддержка
=> Программное обеспечение
=> Инструментальные средства
=> Обсуждение сайта
=> Курилка
-----------------------------
International Forum
-----------------------------
=> English Discussion
Загружается...