material-design-icons icon indicating copy to clipboard operation
material-design-icons copied to clipboard

How to find &#x... charset??

Open RicardPG-Vintra opened this issue 8 years ago • 6 comments

Hi,

I don't find the charset associated to a icon.. before the updates I extract it from material-icons website.. now i don't know how to find it.

Please can someone help me?

Thanks!

RicardPG-Vintra avatar May 14 '18 09:05 RicardPG-Vintra

It looks like a bug on the website that the codes are missing, because I don't see any difference in the proposed usage code for old and new browsers. The snippet for old browsers should include the code.

If by some reason codes were removed, it makes sense to update this file for those of us, who need to use the codes: https://github.com/google/material-design-icons/blob/master/iconfont/codepoints. This file was updated 2 years ago and don't include the new changes.

The proposed usage code on the website (no difference between the "For modern browsers" and "For IE9 or below").

<!--For modern browsers-->
<i class="material-icons">
cancel
</i>
<!-- For IE9 or below. -->
<i class="material-icons">
cancel
</i>

vinnykov avatar May 14 '18 10:05 vinnykov

In my opinion is a bug... Hope that can fix it, but meanwhile maybe will be usefull the codepins.

Thanks for the info!

RicardPG-Vintra avatar May 14 '18 10:05 RicardPG-Vintra

The icons without &#x charset does not work on Samsung Tizen OS. I used to find this charsets on material icons web page and now it looks the same for modern browsers.

IMO should keep charset icons available for old compatibility.

matheusrufca avatar May 18 '18 14:05 matheusrufca

Please, fix this!!

marceloromaomultilaser avatar Jun 25 '18 17:06 marceloromaomultilaser

I created this for who ever needs - https://github.com/google/material-design-icons/issues/813#issuecomment-401601344

bzaruk avatar Jul 01 '18 11:07 bzaruk

The codepoints can now also be found in the .codepoints files here: https://github.com/google/material-design-icons/tree/master/font

RoelN avatar Feb 09 '21 11:02 RoelN