Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread Steve Weber via ipxe-devel
I would think that using echo with the raw bytes would work. Hope your work continues to progress. Thanks! -- Reply to this email directly or view it on GitHub: https://github.com/ipxe/ipxe/pull/102#issuecomment-106475 You are receiving this because you commented. Message ID: __

Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread Michael Brown via ipxe-devel
> @NiKiZe Thanks! I tried a few things but it seems that im unable to get the > UCS-2 or 2byte char working for the ISO10646 charset. iPXE is currently ASCII-only. I am currently working on adding Unicode support in stages. The first part (allowing the use of UTF-8 in iPXE scripts, allowing f

Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread Steve Weber via ipxe-devel
@NiKiZe Thanks! I tried a few things but it seems that im unable to get the UCS-2 or 2byte char working for the ISO10646 charset. ``` set h1:hex 00 set h2:hex dc set d:int16 220 echo ${h1string}${h2string} ${d:string} ``` /shrug/ -- Reply to this email directly or view it on GitHub: https://

Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread Christian Nilsson via ipxe-devel
@steverweber ASCII is 7bit, = max char 127, Extended ASCII is not really defined here, BIOS mode is often CP437 but no guarantees, iPXE just outputs puts bytes on the output buffer, then BIOS/EFI is responsible for how that is displayed. (From what I understood EFI is always UCS-2) -- Reply to

Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread Steve Weber via ipxe-devel
Seems that console in ipxe in EFI mode is using UTF-16 but im not sure how to echo custom UTF16 char. -- Reply to this email directly or view it on GitHub: https://github.com/ipxe/ipxe/pull/102#issuecomment-1061837552 You are receiving this because you commented. Message ID: ___

Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread Steve Weber via ipxe-devel
Thanks for pointing out DPP, I got deeper into this project last night and found that I cant use the nice ASCII chars 219,220,254 when using ipxe under efi mode booting from vmware EXI. Seems to be in a Unicode mode. ``` set d:int8 220 echo ${d:string} Ü ``` -- Reply to this email directly or

Re: [ipxe-devel] [ipxe/ipxe] QRcode (#102)

2022-03-08 Thread dgtlrift via ipxe-devel
> neat/ I started to look at generating a QRcode server side and passing it > down in a chain loaded ipxe script in a retry loop. The QRcode brings user to > a webpage to enrol the system. Looks like i'll just continue with my hack for > now. I'm getting off topic, but I would strongly recommen