All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@gnu.org>
To: qemu-devel@nongnu.org, kraxel@redhat.com, pbonzini@redhat.com,
	berrange@redhat.com, peter.maydell@linaro.org, mjt@tls.msk.ru
Subject: Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding
Date: Wed, 26 Oct 2016 01:16:32 +0200	[thread overview]
Message-ID: <20161025231632.GS2801@var.home> (raw)
In-Reply-To: <20161015195308.20473-5-samuel.thibault@ens-lyon.org>

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 conv;
> > +
> > +        conv = iconv_open("WCHAR_T", font_charset);
> 
> Is this portable?

I confirm it works on at least glibc (thus Linux and other GNUs), MacOS,
OpenBSD, FreeBSD, Windows mingw.

Samuel

  parent reply	other threads:[~2016-10-25 23:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-15 19:53 [Qemu-devel] [PATCH 0/5] curses: wide character support Samuel Thibault
2016-10-15 19:53 ` [Qemu-devel] [PATCH 1/5] curses: fix left/right arrow translation Samuel Thibault
2016-10-15 19:53 ` [Qemu-devel] [PATCH 2/5] curses: Use cursesw instead of curses Samuel Thibault
2016-10-15 19:53 ` [Qemu-devel] [PATCH 3/5] curses: use wide output functions Samuel Thibault
2016-10-15 19:53 ` [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding Samuel Thibault
2016-10-15 21:07   ` Paolo Bonzini
2016-10-25 23:16   ` Samuel Thibault [this message]
2016-10-15 19:53 ` [Qemu-devel] [PATCH 5/5] curses: support wide input Samuel Thibault
2016-10-25 22:26 ` [Qemu-devel] [PATCH 0/5] curses: wide character support Samuel Thibault
2016-10-26 10:05   ` Gerd Hoffmann
2016-10-26 11:43     ` Samuel Thibault
2016-10-26 12:18       ` Gerd Hoffmann
2016-10-26 12:40       ` Gerd Hoffmann
2016-10-26 15:19         ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2016-06-22 22:23 Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding Samuel Thibault
2016-06-23  7:34   ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161025231632.GS2801@var.home \
    --to=samuel.thibault@gnu.org \
    --cc=berrange@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.