Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding

2016-10-25 Thread Samuel Thibault
Hello, It seems that in the flurry of qemu-devel mails, I missed this answer. Paolo Bonzini wrote: > > +#ifdef CONFIG_ICONV > > +if (font_charset) { > > +unsigned char ch; > > +wchar_t wch; > > +char *pch, *pwch; > > +size_t sch, swch; > > +iconv_t

Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding

2016-10-15 Thread Paolo Bonzini
> +#ifdef CONFIG_ICONV > +if (font_charset) { > +unsigned char ch; > +wchar_t wch; > +char *pch, *pwch; > +size_t sch, swch; > +iconv_t conv; > + > +conv = iconv_open("WCHAR_T", font_charset); Is this portable? It seems safer to convert to

Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding

2016-06-23 Thread Markus Armbruster
Samuel Thibault writes: > This detects and uses iconv to convert glyphs from the specified VGA font > encoding to unicode. > > Signed-off-by: Samuel Thibault [...] > diff --git a/qemu-options.hx b/qemu-options.hx > index