Using UTF-8 in grub2 env
Good day!
Is there any way to grub_printf() UTF-8 string?
I wanna make some i18n output using cyrillic symbols (with L"strings"), but i get only "?????" :(
Thanks!
Quoted 5 lines · Oleg Strikov
Good day!
Is there any way togrub_printf()UTF-8 string?
I wanna make some i18n output using cyrillic symbols (with L"strings"), but i get only "?????" :(
Thanks!
You need to load a Unicode font and switch to the graphical mode with "terminal gfxterm"
See http://grub.enbug.org/gfxterm
The menu doesn't work in gfxterm yet.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 2 lines · Pavel Roskin
The menu doesn't work in gfxterm yet.
It works for me. What problem did you find?
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.)
Quoted 5 lines · Robert Millan
Quoted 2 lines · Pavel Roskin
The menu doesn't work in gfxterm yet.
It works for me. What problem did you find?
When in qemu, "configfile (ata2)/grub.cfg" switches to the text mode and then shows the menu. Subsequent "c" shows the prompt in the text mode.
Just in case, I made the iso image with grub-mkrescue using all modules (even ata) and then appended unifont.pff and grub.cfg with
growisofs -r -M grub2.iso unifont.pff grub.cfg
Signature · 2 lines
Regards, Pavel Roskin
Quoted 10 lines · Pavel Roskin
Quoted 5 lines · Robert Millan
Quoted 2 lines · Pavel Roskin
The menu doesn't work in gfxterm yet.
It works for me. What problem did you find?
When in qemu, "configfile (ata2)/grub.cfg" switches to the text mode and then shows the menu. Subsequent "c" shows the prompt in the text mode.
I can't reproduce this. What's in your grub.cfg ?
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.)
Quoted 1 line · Robert Millan
I can't reproduce this. What's in your grub.cfg ?
My bad. It has "terminal console" in it. It's just a standard grub.cfg generated by update-grub.
Now I'm getting the graphical menu!
Signature · 2 lines
Regards, Pavel Roskin
Quoted 7 lines · Pavel Roskin
Quoted 1 line · Robert Millan
I can't reproduce this. What's in your grub.cfg ?
My bad. It has "terminal console" in it. It's just a standard grub.cfg generated by update-grub.
:-)
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.)
Quoted 4 lines · Oleg Strikov
Good day!
Is there any way togrub_printf()UTF-8 string?
I wanna make some i18n output using cyrillic symbols (with L"strings"), but i get only "?????" :(
Did you setup gfxterm as per instructions in http://grub.enbug.org/gfxterm ?
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.)