On 18 March 2013 10:25, Shailen Tuli <[email protected]> wrote: > Lex, thanks for the feedback. > > On Sunday, March 17, 2013 3:46:36 PM UTC-7, Lex Trotman wrote: > >> >> >> On 18 March 2013 09:35, Shailen Tuli <[email protected]> wrote: >> >>> I'm having trouble in displaying an extended Unicode character in the >>> html version of my asciidoc document. >>> >>> The symbol is the treble clef , '\u1F3BC' . It displays fine on >>> Github: >>> >>> https://github.com/dart-lang/**c**ookbook/blob/strings/book.**asci** >>> idoc#solution-7<https://github.com/dart-lang/cookbook/blob/strings/book.asciidoc#solution-7> >>> >>> But on the html file that asciidoc generates for me, I get an empty box. >>> Other Unicode characters show up fine. Is this a missing font issue or an >>> sciidoc issue? >>> >> >> You can have a look at the html asciidoc generates to see what character >> is generated, but I think its almost certainly a font "problem". Your clef >> in the email above displays as a square box for me. And if I show the >> github page as source the symbol shows as a square box. >> >> For an example in a book like this, you probably should stick to common >> characters so your users are likely to have them, even if not as exciting >> as music notation :) >> > > Alas, the whole point of the section where I use the clef is to show how > to deal with exotic UTF-16 characters that don't fit into 16 bits. I could > of course hunt for another one that is more widely supported. FWIW, every > one of the first 65,536 Unicode characters that I've used in my text shows > up nicely. Its the really exotic ones that don't. >
Yeah, the 16 bit Unicodes have been around for longer and so are more widely supported. I guess you could look at what font github is using. Cheers Lex > > Take care, > > Shailen > > >> Cheers >> Lex >> >> >>> >>> - Shailen Tuli >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "asciidoc" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to asciidoc+u...@**googlegroups.com. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at >>> http://groups.google.com/**group/asciidoc?hl=en<http://groups.google.com/group/asciidoc?hl=en> >>> . >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >>> >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
