Re: qemu and Unicode characters on serial console

2021-03-16 Thread Peter Maydell
On Tue, 16 Mar 2021 at 21:08, Francois wrote: > It really looks like it has nothing to do with qemu, it is just the > way it was coded :D Yep; in general QEMU's serial and similar character-device functionality is just a raw stream-of-bytes -- it's up to the guest software what it puts in there

Re: qemu and Unicode characters on serial console

2021-03-16 Thread Francois
Thanks for your reply! I tee-ed the output into a file and it is really a "?" character coming out of the serial port. Now, checking the code: https://github.com/tianocore/edk2/blob/master/EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c#L484 ``` CHAR8 * EFIAPI SafeUnicodeStrToAsciiStr ( ...

Re: qemu and Unicode characters on serial console

2021-03-16 Thread Jakob Bohm
On 2021-03-14 11:10, Francois wrote: Hi qemu! I am wondering if it is possible to get Unicode support through a stdio, or pty, serial console. I am running qemu from CentOS stream qemu-kvm-core-4.2.0-35.module_el8.4.0+547+a85d02ba.x86_64 My terminal and locale use UTF-8. I am booting into the

qemu and Unicode characters on serial console

2021-03-14 Thread Francois
Hi qemu! I am wondering if it is possible to get Unicode support through a stdio, or pty, serial console. I am running qemu from CentOS stream qemu-kvm-core-4.2.0-35.module_el8.4.0+547+a85d02ba.x86_64 My terminal and locale use UTF-8. I am booting into the OVMF boot menu below, that lets me change