* util/console.c (grub_ncurses_putchar): If C is greater than
0x7f, set C to a question mark.
(grub_ncurses_getcharwidth): New function.
(grub_ncurses_term): Specify grub_ncurses_getcharwidth as
getcharwidth.
* normal/menu.c (print_entry): Made aware of Unicode. First,
convert TITLE to UCS-4, and predict the cursor position by
grub_getcharwidth.
* include/grub/misc.h (grub_utf8_to_ucs4): Specify the qualifier
const to SRC.
* kern/misc.c (grub_utf16_to_utf8): Likewise.
|
||
|---|---|---|
| .. | ||
| i386/pc | ||
| powerpc/ieee1275 | ||
| console.c | ||
| genmoddep.c | ||
| grub-emu.c | ||
| misc.c | ||
| resolve.c | ||
| unifont2pff.rb | ||