Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unicode ☰ hamburger not displaying in Android & Chrome

I noticed that my hamburger menu icon has stopped displaying in Chrome for Android and also, in the Android browser now I simply get the missed icon image. It still works in all desktop browsers, in Safari and on Windows phone browsers.

I've created a test page to show the problem, included below. I'm confused about this as two months ago it was working fine when testing was completed and nothing has been changed or updated since.I wondered if anybody had any advice? Has something changed recently to cause this - do I need to look at alternative methods?

<!DOCTYPE html>
<html>
<head>
<style>    
p.sansserif {font-family: Arial, Helvetica, Verdana, sans-serif;}
</style>
</head>
<body>

<p class="sansserif">This is the hamburger, &#9776; , there. </p>

</body>
</html>
like image 365
T W Avatar asked Aug 18 '15 11:08

T W


People also ask

What the Unicode means?

Unicode is an international character encoding standard that provides a unique number for every character across languages and scripts, making almost all characters accessible across platforms, programs, and devices.

What is Unicode vs ASCII?

Unicode is the universal character encoding used to process, store and facilitate the interchange of text data in any language while ASCII is used for the representation of text such as symbols, letters, digits, etc. in computers. ASCII : It is a character encoding standard for electronic communication.

What is a Unicode example?

The code point is a unique number for a character or some symbol such as an accent mark or ligature. Unicode supports more than a million code points, which are written with a "U" followed by a plus sign and the number in hex; for example, the word "Hello" is written U+0048 U+0065 U+006C U+006C U+006F (see hex chart).

What does Unicode look like?

Unicode uses two encoding forms: 8-bit and 16-bit, based on the data type of the data that is being that is being encoded. The default encoding form is 16-bit, where each character is 16 bits (2 bytes) wide. Sixteen-bit encoding form is usually shown as U+hhhh, where hhhh is the hexadecimal code point of the character.


1 Answers

I've worked around this problem by using the UNICODE character UNICODE U+2261 (8801), ≡ IDENTICAL TO as illustrated below rather than the UNICODE U+2630 (9776) ☰ TRIGRAM FOR HEAVEN which seems to have font support issues on my Android devices.

<p class="sansserif">&#8801; Menu </p>

I preferred not to do it with an image for simplicity and resizing.

like image 134
T W Avatar answered Sep 26 '22 20:09

T W