All of lore.kernel.org
 help / color / mirror / Atom feed
* Does plain pc console support UNICODE?
@ 2012-10-04 17:09 Andrey Borzenkov
  2013-01-20 22:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2012-10-04 17:09 UTC (permalink / raw)
  To: grub-devel

I have default language Russian. When testing patch I switched from
gfxterm to plain console and got '????' instead of grub messages. Is it
supposed to work at all? If not, does it make sense to temporary reset
language when we switch to terminal that is known to not support
UNICODE?

-andrey



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Does plain pc console support UNICODE?
  2012-10-04 17:09 Does plain pc console support UNICODE? Andrey Borzenkov
@ 2013-01-20 22:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-01-20 22:40 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]

On 04.10.2012 19:09, Andrey Borzenkov wrote:

> I have default language Russian. When testing patch I switched from
> gfxterm to plain console and got '????' instead of grub messages. Is it
> supposed to work at all? If not, does it make sense to temporary reset
> language when we switch to terminal that is known to not support
> UNICODE?
> 

Normal BIOS console supports only CP437. The fix for this would go through:
1) Possible use of vga_text instead of BIOS services and enhance it with
font-loading code to dynamically load characters we need. But this is
already more than just a simple console and requires to load e.g.
unifont. Currently BIOS services and vga_text are used for their
simplicity and compactness. Perhaps vga_text would need to be split to
vga_text and vga_text_font the latter being a separate module and
vga_text calling vga_text_font only if it's loaded.
2) Another possibility is to translate the unrepresentable characters to
their nearest ASCII equivalent. The problem is that this is somewhat
language-dependent. E.g. a German-speaking person would replace ö with
oe but a Finnish would probably just drop the diaresis.

> -andrey
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-20 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04 17:09 Does plain pc console support UNICODE? Andrey Borzenkov
2013-01-20 22:40 ` Vladimir 'φ-coder/phcoder' Serbinenko

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.