Unicode symbols truncated?

Found a bug? Tell us!!
Post Reply
Huhu
Regular
Posts: 105
Joined: Tue Oct 04, 2011 3:22 pm

Unicode symbols truncated?

Post by Huhu » Fri Oct 28, 2016 9:37 am

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 "
Last edited by Huhu on Mon Oct 31, 2016 10:35 am, edited 1 time in total.
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
yellowled
Regular
Posts: 6930
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: Unicode symbols truncaated?

Post by yellowled » Fri Oct 28, 2016 10:14 am

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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
onli
Regular
Posts: 2160
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Unicode symbols truncaated?

Post by onli » Fri Oct 28, 2016 4:13 pm

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.

Huhu
Regular
Posts: 105
Joined: Tue Oct 04, 2011 3:22 pm

Re: Unicode symbols truncated?

Post by Huhu » Mon Oct 31, 2016 10:37 am

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.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Huhu
Regular
Posts: 105
Joined: Tue Oct 04, 2011 3:22 pm

Re: Unicode symbols truncated?

Post by Huhu » Thu Feb 16, 2017 1:32 pm

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/
Fan of post-apocalyptic Jugger: Free ebook on the sport

Huhu
Regular
Posts: 105
Joined: Tue Oct 04, 2011 3:22 pm

Re: Unicode symbols truncated?

Post by Huhu » Thu Nov 29, 2018 11:32 am

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.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Post Reply