Loading...
 
Skip to main content

4-bytestring (most Emoji) Causes Wiki Cutoffs

Status
Closed
Subject
4-bytestring (most Emoji) Causes Wiki Cutoffs
Version
17.x
Category
  • Error
Feature
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
New
Submitted by
drsassafras
Lastmod by
drsassafras, Marc Laporte
Rating
(0)
Related-to
Description

I have found that most emoji cause page cutoffs on wiki pages. It seems to be that all 4 bytestring unicode causes this most unfortunate error (including the smiley face)

3 bytestring unicode seems to be fine, including: ☺ ☹⛅

I created a pastebin http://pastebin.com/DVf7S1AK with a few common emoji that will promptly kill your wiki page while saving an edit. These are easily usable by just about every mobile phone made since 2010 when unicode 6.0 came out. Desktop usage is also becoming more popular.

My first thought was that it was a HTML Purifier issue. I visited the HTML purifier website and there demo handles 4 bytestring unicode just fine. Then I thought it might be that some software of ours was using the Legacy CJK encoding, but 3 bytestring would not work if that was the case, so we are probably fine there.

That is as far as i have gotten. It wold be really nice if tiki could handle this now popular form of communication.

Emoji Unicode Implementation Info: https://gist.github.com/mranney/1707371
Unicode Lookup: http://unicode.scarfboy.com/

Solution
implemented in tiki 19
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6189
Created
Thursday 01 December, 2016 00:32:17 UTC
by drsassafras
LastModif
Wednesday 17 October, 2018 01:14:45 UTC


Show PHP error messages