Read the statement by Michael Teeuw here.
Using Unicode Character and symbols in module
-
Hi,
i have a problem, i want to use a Unicode character in my module.Its the lock character (๐), see http://graphemica.com/%F0%9F%94%92.
If i insert this, it works on the published IP Adress of MagicMirror (via browser) but not on MagicMirror (Electron) itselft:
Browser:

Electron:

I use follwing code:
link.innerHTML = this.config.Alias[index] + '\u{1F512}'+'๐'; the second locksymbol is '& # 128274 ;' written with no spaces.Electron is running in a Pixel VM (Oracle Virtualbox), for development purposes.
Can somebody give me a tip how to solve this?
Thanks in advance.
AxLED
-
Hi to all,
i found a solution.

I use font awesome (which comes with mm anyway) an the following css:
.fa-lock1:after { content: "\f023"; }AxLED
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better ๐
Register Login