Preliminary support for UTF-8 console

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-16 00:48:34 +01:00
parent 9a3355cfde
commit f10331edf2
3 changed files with 69 additions and 39 deletions

View file

@ -343,6 +343,8 @@ grub_serial_putchar (const struct grub_unicode_glyph *c)
break;
default:
if ((c->base & 0xC0) == 0xC0)
break;
if (xpos >= TEXT_WIDTH)
{
xpos = 0;