* Using UTF-8 in grub2 env
@ 2008-01-03 16:55 Oleg Strikov
2008-01-03 17:49 ` Pavel Roskin
2008-01-03 19:47 ` Robert Millan
0 siblings, 2 replies; 8+ messages in thread
From: Oleg Strikov @ 2008-01-03 16:55 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
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!
[-- Attachment #2: Type: text/html, Size: 199 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 16:55 Using UTF-8 in grub2 env Oleg Strikov
@ 2008-01-03 17:49 ` Pavel Roskin
2008-01-03 20:22 ` Robert Millan
2008-01-03 19:47 ` Robert Millan
1 sibling, 1 reply; 8+ messages in thread
From: Pavel Roskin @ 2008-01-03 17:49 UTC (permalink / raw)
To: The development of GRUB 2; +Cc: Oleg Strikov
On Thu, 2008-01-03 at 16:55 +0000, Oleg Strikov wrote:
> 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!
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.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 17:49 ` Pavel Roskin
@ 2008-01-03 20:22 ` Robert Millan
2008-01-03 20:35 ` Pavel Roskin
0 siblings, 1 reply; 8+ messages in thread
From: Robert Millan @ 2008-01-03 20:22 UTC (permalink / raw)
To: The development of GRUB 2; +Cc: Oleg Strikov
On Thu, Jan 03, 2008 at 12:49:04PM -0500, Pavel Roskin wrote:
>
> The menu doesn't work in gfxterm yet.
It works for me. What problem did you find?
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 20:22 ` Robert Millan
@ 2008-01-03 20:35 ` Pavel Roskin
2008-01-03 23:18 ` Robert Millan
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Roskin @ 2008-01-03 20:35 UTC (permalink / raw)
To: The development of GRUB 2; +Cc: Oleg Strikov
On Thu, 2008-01-03 at 21:22 +0100, Robert Millan wrote:
> On Thu, Jan 03, 2008 at 12:49:04PM -0500, Pavel Roskin wrote:
> >
> > 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
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 20:35 ` Pavel Roskin
@ 2008-01-03 23:18 ` Robert Millan
2008-01-03 23:29 ` Pavel Roskin
0 siblings, 1 reply; 8+ messages in thread
From: Robert Millan @ 2008-01-03 23:18 UTC (permalink / raw)
To: The development of GRUB 2
On Thu, Jan 03, 2008 at 03:35:57PM -0500, Pavel Roskin wrote:
>
> On Thu, 2008-01-03 at 21:22 +0100, Robert Millan wrote:
> > On Thu, Jan 03, 2008 at 12:49:04PM -0500, Pavel Roskin wrote:
> > >
> > > 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 ?
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 23:18 ` Robert Millan
@ 2008-01-03 23:29 ` Pavel Roskin
2008-01-03 23:51 ` Robert Millan
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Roskin @ 2008-01-03 23:29 UTC (permalink / raw)
To: The development of GRUB 2
On Fri, 2008-01-04 at 00:18 +0100, Robert Millan wrote:
> 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!
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 23:29 ` Pavel Roskin
@ 2008-01-03 23:51 ` Robert Millan
0 siblings, 0 replies; 8+ messages in thread
From: Robert Millan @ 2008-01-03 23:51 UTC (permalink / raw)
To: The development of GRUB 2
On Thu, Jan 03, 2008 at 06:29:54PM -0500, Pavel Roskin wrote:
>
> On Fri, 2008-01-04 at 00:18 +0100, Robert Millan wrote:
>
> > 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.
:-)
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using UTF-8 in grub2 env
2008-01-03 16:55 Using UTF-8 in grub2 env Oleg Strikov
2008-01-03 17:49 ` Pavel Roskin
@ 2008-01-03 19:47 ` Robert Millan
1 sibling, 0 replies; 8+ messages in thread
From: Robert Millan @ 2008-01-03 19:47 UTC (permalink / raw)
To: The development of GRUB 2
On Thu, Jan 03, 2008 at 04:55:16PM +0000, Oleg Strikov wrote:
> 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 "?????" :(
Did you setup gfxterm as per instructions in http://grub.enbug.org/gfxterm ?
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-01-03 23:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03 16:55 Using UTF-8 in grub2 env Oleg Strikov
2008-01-03 17:49 ` Pavel Roskin
2008-01-03 20:22 ` Robert Millan
2008-01-03 20:35 ` Pavel Roskin
2008-01-03 23:18 ` Robert Millan
2008-01-03 23:29 ` Pavel Roskin
2008-01-03 23:51 ` Robert Millan
2008-01-03 19:47 ` Robert Millan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.