Numeric character entities are restricted to the base multilingual plane
D
Daniel Martin
started a topic
2 months ago
Submitted this as a support ticket, was directed to submit here instead.
If I enter into cohost (extra spaces being inserted here just in case there's some translation going on in the forum software) a comment or post with:
& # x 1 F 3 3 3 ;
Instead of the emoji for "Deciduous tree" (
1 Comment
D
Daniel Martin
said
2 months ago
Oh dear! The forum software cut my message off at the first complicated character!
The rest of what I intended to say:
Instead of the emoji for "Deciduous tree" (tree emoji here) what I end up with is the character U+FFF3 (something from the unicode private use area).
The same thing happens if I enter the decimal equivalent:
& # 1 2 7 7 9 5 ;
However, should I enter that text inside an HTML attribute (e.g. in the title attribute of an <img> tag), that seems to work and the rendered HTML includes the deciduous tree emoji.
Entering in two numeric character entities for the UTF-16 surrogate pair also fails to work, but entering the emoji directly does.
Daniel Martin
Submitted this as a support ticket, was directed to submit here instead.
& # x 1 F 3 3 3 ;
Instead of the emoji for "Deciduous tree" (
Daniel Martin
Oh dear! The forum software cut my message off at the first complicated character!
The rest of what I intended to say:
Instead of the emoji for "Deciduous tree" (tree emoji here) what I end up with is the character U+FFF3 (something from the unicode private use area).
The same thing happens if I enter the decimal equivalent:
& # 1 2 7 7 9 5 ;
However, should I enter that text inside an HTML attribute (e.g. in the title attribute of an <img> tag), that seems to work and the rendered HTML includes the deciduous tree emoji.
Entering in two numeric character entities for the UTF-16 surrogate pair also fails to work, but entering the emoji directly does.
-
I found an eggbug!
-
[STICKY] How to report a bug
-
Progressive web app has no icon
-
Long comment threads become unreadable as replies are indented
-
Tag search is non obvious for new users
-
Accessibility: "show n posts" is not marked up as clickable
-
Rechost Tags
-
Accessibility: Non-logged in front page missing alt tag on images
-
Accessibility: Image description field too small
-
Blocked pages still show up in search results
See all 362 topics