Samuel Thibault <samuel.thiba...@ens-lyon.org> writes: > This detects and uses iconv to convert glyphs from the specified VGA font > encoding to unicode. > > Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> [...] > diff --git a/qemu-options.hx b/qemu-options.hx > index ce535a9..2187886 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -321,6 +321,26 @@ The default is @code{en-us}. > ETEXI > > > +DEF("f", HAS_ARG, QEMU_OPTION_f, > + "-f encoding use font encoding (for example 'CP850' for IBM CP850 > encoding)\n", > + QEMU_ARCH_ALL) > +STEXI > +@item -h @var{encoding} > +@findex -h > +Use font encoding @var{encoding} (for example @code{CP850} for > +IBM CP/850 encoding). This option is only needed where output is text-only, > i.e. > +with the curses display, to convert from text-mode output from the guest to > +proper text glyphs. > + > +The available encoding are provided by the libc, the full list can be > obtained by > +@example > +iconv -l > +@end example > + > +The default is @code{CP437}. > +ETEXI > + > +
Since this option applies only to the curses display, it should be a -display curses parameter, like this: -display curses,charset=CP850. > DEF("audio-help", 0, QEMU_OPTION_audio_help, > "-audio-help print list of audio drivers and their options\n", > QEMU_ARCH_ALL) [...]