On Jan 03, 2007, at 11:04 PM, Carlo Rubini wrote:

 I just tested on a windows XP machine the following code:

dim flat, sharp as string
   flat = encodings.UTF8.chr(&h266D)
   sharp = encodings.UTF8.chr(&h266F)

statictext1.text = "A" + flat + "  " + "F" + sharp

But both the flat and sharp strings show an unidentifiable character (a vertical bar).

Can somebody point out how to modify the above snippet so that I may get the musical glyphs corresponding to flat (something looking like a "b") and sharp (something looking like #)?

Could that depend on the font used? In such case, I'd appreciate if you let me know the font supporting these glyphs.

BTW: On the Mac (OS X) I get the expected glyphs.

Switch the font you are using on Windows to Tahoma
What ever your current System font is does not have a glyph for that code point
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to