question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how do I render unicode utf-8 characters?

See original GitHub issue

h("div",false,"•") h("div",false,"•")

Hey guys, I tried to figure out the issue of rendering special characters… escapes the “&” to render “•” and not •. Am I doing something wrong? how do i unescape?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
0xF48commented, Jan 10, 2017

seems like using \u2022 instead works.

1reaction
ghostcommented, Apr 16, 2019

late response, anyway. solution I came up with is using React Fragments -> <>&mdash;</>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unicode, UTF8 & Character Sets: The Ultimate Guide
In Firefox go to View > Character Encoding. Swap between a few to see what effect it has. If you try to display...
Read more >
HTML Unicode UTF-8 - W3Schools
Char Dec Hex Name ☀ 9728 2600 BLACK SUN WITH RAYS ☁ 9729 2601 CLOUD ☂ 9730 2602 UMBRELLA
Read more >
Displaying unicode symbols in HTML - Stack Overflow
Ensure your editor save it as UTF-8. Ensure your FTP or any file transfer program does not mess with the file. Try with...
Read more >
A Rubyist's Introduction to Character Encoding, Unicode and ...
A Rubyist's Introduction to Character Encoding, Unicode and UTF-8. Have you ever dealt with a unicode bug? Where plain text — the substance ......
Read more >
UTF-8 Tool
Some browsers may not be able to display all Unicode characters; they may display blanks, boxes, or question marks for some characters.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found