Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Some Unicode characters not displaying on Kindle

I am implementing a book for Kindle device using HTML, but some Unicode special characters are not displaying in Kindle, such as:

    X -hax: x̄ 
    X-double bar : x̿
    R- hax : ͞R

My head tag is :

<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>

Please help me; how can I display the characters listed above (and shown below if your browser has sufficient Unicode support):

  •   ̿   U+033F COMBINING DOUBLE OVERLINE
  •   ͞   U+035E COMBINING DOUBLE MACRON
  • ݲ   U+0772 ARABIC LETTER HAH WITH SMALL ARABIC LETTER TAH ABOVE
like image 245
Tushar Ahirrao Avatar asked Nov 13 '22 18:11

Tushar Ahirrao


1 Answers

This might a be surprise, but not a single operating system includes fonts for every single Unicode code point.

Take Wikipedia's lead and embed images for unsupported glyphs.

A random example, the new Kazakhstani tenge currency symbol: ₸ vs. enter image description here

edit: It looks like there is little support for combining diacritics in PHP with GD/Freetype2 you have to look forward towards PHP6 or alternative method of producing them, such as GD with Pango:

https://bugs.php.net/bug.php?id=34670

like image 102
Steve-o Avatar answered Dec 18 '22 19:12

Steve-o