iftechfoundation / ifdb

The software behind the Interactive Fiction Database (IFDB)
Other
23 stars 18 forks source link

Can't enter some characters (e.g. emoji) in game titles #401

Open jtn20 opened 1 month ago

jtn20 commented 1 month ago

Attempting to enter emoji into a game title causes the literal entity encoding (&#xxxxxx;) to appear instead. (Maybe some other fields too, haven't checked; but clearly the description doesn't have this trouble. Haven't tried to determine exactly which characters trigger this; maybe those outside the BMP)?)

For example, the game 😱🔤😱 is represented on IFDB as Scream Alphabet Scream (emojis). In the edit history you can see me and others flailing around to represent it properly, but whatever I entered, it got converted to 😱🔤😱.

The IFDB entry for Coca-Cola Presents: 🥤 Fuck Capitalism Jam 2032 🥤 is another example (currently showing the entity encoding).