14th October, 2014

Help my icons are showing as Unicode entities

You need to do something like this:

@function char-from-code($iso-char) {
  @return unquote('\"#{$iso-char}\"');
}

$unicode: \e06d;

.icon {
  content: char-from-code($unicode);
}

 

Add Comment

The opinions expressed here are my own and not those of my employer.