Unicode characters for «email», «save», «print»
Asked Answered
B

3

19

I want to make a fallback for my icon font. For example, for my beautiful icon font check mark I use Unicode check mark equivalent:

.icon-checkmark {
    &:before {
        content: "\2713"; /* Unicode Character 'CHECK MARK' (U+2713) */
    }
}

My icon font has character with code "\2713" also. If my icon font fails to load, user will see Unicode check mark; if icon font loads successfully, user will see icon font's beautiful check mark.

I'm searching for Unicode character equivalents for «email», «save» and «print» entities. Are there any or similar in Unicode tables? I have searched on http://www.fileformat.info/ but with no luck.

(I have found only an «email» character — http://www.fileformat.info/info/unicode/char/1f4e7/browsertest.htm, but it does not work in Chrome 28 (it works in all other browsers however :).

Brownstone answered 18/7, 2013 at 12:2 Comment(0)
J
26

Here's some ideas. I have not tested them on any browsers except Firefox on Linux.

Edit: 💾 \U0001f4be could be used for saving since Unicode 6.x

Jacintajacinth answered 18/7, 2013 at 12:25 Comment(9)
Thank you for «email»! Unfortunately, «print» and «save (unlikely)» not working in Chrome.Brownstone
Wooow! «Print» is beautiful! (In all browsers, except Chrome).Brownstone
Does not depend of the browser you're using, it's the fonts that mattersBuchmanism
@RomualdBrunet And the encoding that browser is currently set to. If the symbol works in some browsers but not others, it generally means that either you're using the default font and it's different for different browsers or the encoding of some browsers is not properly set.Aurora
Also, another Save icon, but with very limited font support: fileformat.info/info/unicode/char/1f4be/browsertest.htmAurora
You can get the char code by pasting this in your address bar: javascript:alert("✉".charCodeAt(0)). I located these characters using utf8-chartable.deJacintajacinth
These days it seems that browsers use a backup font when the primary font does no support a given character. ☺Wick
That «print» is actually the PRINT-SCREEN symbol. But it is definitively the closest one. I'm impressed there is no icon for one of the oldest task in computers.Bodwell
You can find a comprehensive list of UTF-8 icons here utf8icons.comFacile
G
16

I was also looking for save (floppy disk) symbol.
💾 symbol (mentioned in @Dark Falcon answer) is colored and not adjustable with its adjacent text colors.
I finally got 🖫 from graphemica.com
We can adjust it in any color by CSS color property.

🖫 white hard shell floppy disk for save (U+1F5AB)  
✉ print screen symbol (U+2399)
⎙ envelope for email (U+2709)
Gar answered 27/8, 2018 at 11:42 Comment(0)
L
4

Your question is actually two-fold: which Unicode code-points are useful for your purpose, and which Unicode code-points are covered with common font installations.

And it raises a new question: why do some programs (Chrome on Windows?) not show correct glyphs where other programs can?

Regarding the first two questions: as you can see, these days some really useful symbols just don't work on many systems out of the box.

Regarding the last question: I have no idea, but some insights on Linux:

Many programs (including Chrome) end up using fontconfig via one way or another. That library is responsible to find the fonts useful to display certain "text". At a higher level, the rendering is done with a mix of fonts, because for more challenging (web page) text there will always be a situation where one font won't cover everything there to display. Might the reason be that another style is requested or a code point is not covered.

So if Chrome on Linux does not show one thing or another, install fonts which have those glyphs (in a way that integrates well with fontconfig-configuration).

I have no idea what drives font-mixing on Windows.

Lole answered 3/7, 2014 at 13:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.