iPXE discussion forum

Full Version: Accented characters in menu?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to display accented characters like "é" in the menu title and items?

Marc Delisle
I'm not entirely sure. iPXE uses the BIOS text console, and whatever support it has for text rendering. In general, that means that you need to encode the text using CP437, which according to http://www.kreativekorp.com/charset/enco...=cp437.kte has é at code E9. Whether or not your BIOS will display characters over the 7-bit barrier you'll just have to try for yourself.
I feel we're getting somewhere, as now the proper accented character is displayed. However the foreground/background colors are not respected. My ultimate goal is to make it displayed over a background picture, but I tried also with the default colors.

The "é" is always displayed as white on black, is there something I can do to fix this?
I'm assuming you've followed the instructions on http://ipxe.org/cmd/colour and http://ipxe.org/cmd/cpair to define your colors? Take notice that it is "colour" (British English) and not "color" (American English).
(By the way, thanks for iPXE).

Yes I have followed these instructions. I am using this:

console --x 640 --y 480 --picture http://example.com/coin_cegep_640x480.png --left 0 --right 0 --top 0 --bottom 0
colour --rgb 0xffff00 3
colour --rgb 0x006b28 2
colour --rgb 0x00214a 5
cpair --foreground 5 1
menu Selectionner le type de demarrage

My menu title is displayed with the appropriate colours. However when my script generates the text "Sélectionner" instead, I correctly see the "é", but only this character has the wrong colours.
Quite interesting! This might very well be a bug in either iPXE or your BIOS. Not sure which one. If you could add a screenshot and send a bug-report to the mailing-list then maybe we can figure out which it is.
Ok, I wrote to ipxe-devel@lists.ipxe.org, with a screenshot.
(2014-03-13 14:39)lem9 Wrote: [ -> ]Ok, I wrote to ipxe-devel@lists.ipxe.org, with a screenshot.

Should now be fixed: http://git.ipxe.org/ipxe.git/commitdiff/a17ee36.

Reference URL's