Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accented characters in menu?
2014-02-27, 19:56
Post: #1
Accented characters in menu?
Hi,
is it possible to display accented characters like "é" in the menu title and items?

Regards,
Marc Delisle
Find all posts by this user
Quote this message in a reply
2014-02-28, 08:51
Post: #2
RE: Accented characters in menu?
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-02-28, 15:16
Post: #3
RE: Accented characters in menu?
Thanks,
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?
Find all posts by this user
Quote this message in a reply
2014-03-02, 09:37
Post: #4
RE: Accented characters in menu?
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).
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-03-03, 19:10
Post: #5
RE: Accented characters in menu?
(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.
Find all posts by this user
Quote this message in a reply
2014-03-10, 10:51
Post: #6
RE: Accented characters in menu?
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-03-13, 14:39
Post: #7
RE: Accented characters in menu?
Ok, I wrote to ipxe-devel@lists.ipxe.org, with a screenshot.
Find all posts by this user
Quote this message in a reply
2014-03-13, 15:27
Post: #8
RE: Accented characters in menu?
(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.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)