Re: [Qemu-devel] [PATCHv2 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Markus Armbruster
Samuel Thibault writes: > This uses iconv to convert glyphs from the specified VGA font encoding to > unicode, and makes use of cchar_t instead of chtype when using ncursesw, > which allows to store all wide char as well as the WACS values. The default > charset is made CP437 since that is the

[Qemu-devel] [PATCHv2 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Samuel Thibault
This uses iconv to convert glyphs from the specified VGA font encoding to unicode, and makes use of cchar_t instead of chtype when using ncursesw, which allows to store all wide char as well as the WACS values. The default charset is made CP437 since that is the charset of the hardware default VGA