Page 1 of 1

Unicode symbols truncated?

Posted: Fri Oct 28, 2016 9:37 am
by Huhu
Should be nothing special, yet it would be nice to know why/find a solution if possible, for the following event:

Trying to embed Unicode code for two symbols, Rat and Fuelpump, in the plaintext entry editor, shows both correctly in the article preview, even in Title. Yet after saving the entry and re-opening it for editing, the Rat symbol (link) vanishes -- and everything behind it.

(Removed the code due to a s9y board error; happens both hex and decimal and hardcopy)

So something like this:
"((Fuelpump)) x26FD and ((Rat)) 128000 in the entry"

shows up like this:
"((Fuelpump)) x26FD and "

Re: Unicode symbols truncaated?

Posted: Fri Oct 28, 2016 10:14 am
by yellowled
This is really not my area of expertise, but I assume that it might be interesting to know if your blog is configured to use a charset that actually allows for these unicode characters? (Not sure if UTF-8 would suffice, but I guess it should be at least that.)

YL

Re: Unicode symbols truncaated?

Posted: Fri Oct 28, 2016 4:13 pm
by onli
This could be the same issue as https://github.com/s9y/Serendipity/issues/394. You are using Mysql I assume?

We will work on this after 2.1 was release, I hope both is not far off.

Re: Unicode symbols truncated?

Posted: Mon Oct 31, 2016 10:37 am
by Huhu
Thanks for the swift answers!
Yes, I am using MySQL. As for the font, I use two different ones for the titles and entries, though nothing out of the ordinary. Otherwise, it is the basic 2k11 template font-wise.

Re: Unicode symbols truncated?

Posted: Thu Feb 16, 2017 1:32 pm
by Huhu
Update:
When I am embedding a Twitter feed, this works as intended - but not if the tweet contains unsupported "emojis". The symbol is not only not displayed but the whole article breaks at that point (including the twitter feed container).
Example: Owl http://emojipedia.org/owl/

Re: Unicode symbols truncated?

Posted: Thu Nov 29, 2018 11:32 am
by Huhu
One more report on interesting behaviour.
I tried to paste the Clock symbol ( https://www.fileformat.info/info/unicod ... /index.htm ) directly into the source code Static Page editor, since the html entity isn't displayed correctly on all browsers. It indeed is pasted and displayed in the editor then.

When I try this, the page stops rendering (=is not displayed) exactly with this pasted-in symbol.