html - Detect UTF-16 support, and replace with images otherwise -


as part of hud i'm designing, i'd use symbol: 🏥

since site serves files in windows-1252, characters outside 0-255 range represented &#x____;, appropriate hex digits filling in blank. in case: 🏥

however, when testing out noticed ie can render symbol, chrome cannot. guess question this: ie have chrome doesn't, there way give chrome ability render these symbols, , if not can detect , replace image?

it not enough encode charset information inside html document, on other hand, browser must able use right encoding (check settings) , must able display it. in following example, browser configured, operating system not able use utf-8 characters:

enter image description here


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -