Thread: ***8217;
View Single Post
  #34  
Old 31st July 2019, 14:12
Schmosby Schmosby is offline
Member
 
Join Date: Jan 2012
Location: London
Posts: 4,088
Blog Entries: 1

Mood
Relaxed

Default Re: ***8217;

I already thought of word filter. It doesn't.

I also thought to use javascript, but no way for the co-admins to add javascript either.

The database charset is latin1_swedish_ci (ISO-8859-1), so it just doesn't support many characters. The others could be converted to html entities maybe. Other option would be to replace the common ones and strip the rest.

UPDATE: Interestingly, I don't have this issue on my install, curly quotes get replaced with their html entities before being added to the database, so display correctly. I wounder if maybe during the server move the database was created with the wrong charset or a different one to the specified one in the admin panel.

OK I'm 99% sure I've found the issue, &# seems to be in the censored words list.

Testing if &# is a swear word...***.
Reply With Quote