os-tutorial icon indicating copy to clipboard operation
os-tutorial copied to clipboard

Is there a way/workaround to print non-ascii characters?

Open daytipper1989 opened this issue 5 years ago • 1 comments

Is there a way/workaround to print non-ascii characters?

Either by in int 10h or in video memory in 32-bit mode? Or is there a hardware/bios limitation?

It could be a weird question but I would like to know if this can be achieved.

If not, so the only way is to draw the non-ascii characters using graphics mode?

daytipper1989 avatar Aug 01 '20 14:08 daytipper1989

When the BIOS loads the kernel, it olny knows about the stack, pointers, and ASCII.

In order to print UTF-8 characters, you will need to code a 32-bit VGA driver and parse by hand the bitmap of each UTF-8 character.

algorithmx51 avatar Sep 01 '20 22:09 algorithmx51