Официальный форум СВД Встраиваемые Системы
26 Апрель, 2024, 16:49:03 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.

Войти
 
 
 Сайт СВД ВС  Начало   Помощь Поиск Войти Регистрация  
Страниц: [1]   Вниз
  Печать  
Автор Тема: Hello, Russian cannot correctly display in qnx4.25/pterm.  (Прочитано 5294 раз)
ffww
Интересующийся

Сообщений: 2


« : 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


WWW
« Ответ #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


« Ответ #2 : 11 Декабрь, 2015, 19:09:14 »

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


WWW
« Ответ #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]   Вверх
  Печать  
 
Перейти в:  

Powered by MySQL Powered by PHP © 2002-2024 СВД Встраиваемые Системы.
При использовании материалов сайта ссылка на forum.kpda.ru обязательна.

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines | © Aiwan. Kolobok smiles | Sitemap
Valid XHTML 1.0! Valid CSS!
Сайт СВД ВС

В последний раз google посещал эту страницу 06 Март, 2024, 06:44:22