flat assembler
Message board for the users of flat assembler.
Index
> Windows > MessageBoxW doesn't display the character 095h |
Author |
|
AsmGuru62 04 Jul 2013, 17:39
I see a square in a message box.
Maybe it depends on a default font Windows uses for message boxes? |
|||
04 Jul 2013, 17:39 |
|
MHajduk 04 Jul 2013, 19:08
yoshimitsu, this code should work for you:
Code: include 'win32wx.inc' include 'ENCODING\utf8.inc' .code start: invoke MessageBox,HWND_DESKTOP,x2,NULL,MB_OK invoke ExitProcess,0 .data x2 du '•',0 .end start |
|||
04 Jul 2013, 19:08 |
|
yoshimitsu 04 Jul 2013, 22:06
MHajduk, thanks but it's still blank for me
I'm using win7 x64 btw.
|
||||||||||
04 Jul 2013, 22:06 |
|
AsmGuru62 05 Jul 2013, 01:35
Try like that:
Code: x2 du 95h,0 |
|||
05 Jul 2013, 01:35 |
|
baldr 05 Jul 2013, 06:11
AsmGuru62 wrote: Try like that: ----8<---- yoshimitsu, Bullet glyph corresponds to U+2022 code point. You may either use x2 du 0x2022, 0 or follow MHajduk's suggestion (crucial point is that you need editor with UTF-8 support to get proper source, i.e. • should be encoded as E2 80 A2 sequence; probably author forgot to indicate that). |
|||
05 Jul 2013, 06:11 |
|
MHajduk 05 Jul 2013, 09:03
baldr wrote: yoshimitsu |
|||
05 Jul 2013, 09:03 |
|
yoshimitsu 05 Jul 2013, 10:32
Man, I srsly gotta search for some good Unicode tutorials to finally shed some light..
Thank you guys, I'm now using du 2022h. PS: How do you actually know the correct code point? |
|||
05 Jul 2013, 10:32 |
|
bitRAKE 05 Jul 2013, 10:43
Character Map system tool in windows works - can search for "Bullet" and mouseover to get the code point in tooltip or status bar.
|
|||
05 Jul 2013, 10:43 |
|
Madis731 06 Jul 2013, 11:48
I usually query Google for an image-based database. One of them is here:
http://www.fileformat.info/info/unicode/char/2022/index.htm I has more description than I can handle |
|||
06 Jul 2013, 11:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.