How can I display unicode emoticons in Chrome/ Safari? - html

I'm building a Chat with PHP & JS.
I'm trying to display the following unicode characters in Google Chrome: http://de.wikipedia.org/wiki/Unicodeblock_Smileys
The characters are displayed correctly in Firefox and IE, but not in Chrome/ Safari.
The characterset is UTF-8.
Any ideas?

This is a known defect with Chrome on OSX: https://code.google.com/p/chromium/issues/detail?id=62435

Related

Japanese characters have some spaces display in google chrome

I've been finding a solution for this problem. I wonder why chrome displays some spaces and font changes for the japanese characters in my website like this:
Google Chrome displaying the Japanese text
While in Microsoft Edge and Mozilla Firefox is working fine:
Mozilla and Edge
Any help will do. Thank you.
Chrome version 58.0.3029.96 (64-bit)
Firefox version 53.0 (32-bit)
Edge version 38.14393.1066.0
Found already the solution for this issue. I use the standard font family for Japanese characters like MS PGothic and now i dont have problem anymore with the spacing.
Link here:
Japanese standard web fonts

Display special non-English characters

Chrome on Ubuntu doesn't display special characters in words like Bo͞oyä when displaying. It works in Windows and Android. Also when typing the characters they look good, but not when displaying. Right now as I am typing this question, it shows right in the text-area but not in the preview below. Why? All works fine on Firefox on Ubuntu.
I asked this on Ubuntu forum but they pointed out that the problem was with Chrome. They are right. So where to post if not here?
Any solution?
Older browsers may not support all the HTML5 entities in the table below.
Chrome has good support. But (currently) only IE 11+ and Firefox 35+ support all the entities.
http://www.w3schools.com/charsets/ref_utf_punctuation.asp

Chrome (Webkit) not showing PDFs with non-ASCII characters in filenames, any workaround?

You can see this résumé in PDF http://www.gelbukh.com/r%E9sum%E9.pdf (with accented characters in the filename) in FireFox and in IE, but not in Chrome or Opera.
The problem is specific to PDF: you can see a TXT http://www.gelbukh.com/r%E9sum%E9.txt in Chrome and Opera.
Is this a known bug? Is there a workaround other than to restrict filenames on the server to ASCII?

Unicode character not displaying in Chrome

I am using simple Unicode characters in my HTML file,Firefox and IE are fine with it but Chrome wont render it. Is there a way this issue can be fixed keeping various end users in mind?

Some Chinese characters are not shown properly IE, FF, Chrome

I tried it in several workstations, sometimes the Characters are displayed properly, sometimes only the last part is displayed. Any idea what is causing this? Any solution?
Here is the HTML:
http://dl.dropbox.com/u/20727629/chi/chi.html
Here is the image of browser with issue:
http://dl.dropbox.com/u/20727629/chi/chi_issue.gif
Here is the image of browser showing Chinese characters correctly:
http://dl.dropbox.com/u/20727629/chi/chi.gif
I've tried several things:
In Windows, setting Regional Settings Format and Language to Chinese (Hong Kong Sar) sometimes fix it for Firefox (it worked in Windows Server 2003, and Windows 7), but IE and Chrome still displays squares or blank for some Chinese chars. Also it didn't work in Windows XP machine I tried.
For XP, In Regional Settings installed files East Asian languages but it didn't fix the problem.
In IE, I tried Tools -> Internet Options, setting Font of Chinese to MingLiu or other Chinese fonts. Didn't work.
Tested in the ff environment (English OS):
Windows 7
-Works in FF after setting Regional settings to Chinese. IE and Chrome still don't display it correctly.
Windows Server 2003
-Works in FF after setting Regional settings to Chinese. IE and Chrome still don't display it correctly.
Windows XP
-Problem FF, Chrome, IE
Ubuntu
-Problem
It seems to me, that many of these characters are in the Unicode Private Use Area. If and how those characters are displayed is highly platform- and font-dependend.
My FF on Linux shows the same rendering as the issue graphic. It means, that there is no character in the list of tried fonts to render the codepoint, and a fallback is used.
The characters, as far as I can oversee, are also present as other codepoints. Use these instead of the Private Use ones, and your chances to get the text rendered will much improve.
For example, you use U+F303 for the first character, the correct one would be U+31C0.
Please try diffrent encoding / character set. You are using UTF-8.
Most of chinese websites use gb2312 (simplified) or Big5 (traditional).
Do you know how to convert UTF-8 text file to diffrent encoding?
The problematic characters seems to be characters in the Big5-HKSCS charset. Convert them to Unicode.