1
  1. Example from the frontend

    Example from the frontend

  2. Example in dev tools

Example in dev tools

  1. If I "view-source" on the page

If I "view-source" on the page

  1. Example from Rich Text Field

Example from Rich Text Field

  1. Example from Rich Text Field HTML

Example from Rich Text Field HTML

This is a Rich Text field within a matrix, it's output in the template like this: {{ block.text }}

If I pass the "|raw" filter I get the same.

If you notice, the Rich Text Field has a   before the closing </p>, which isn't output in the markup, instead I get this strange character.

I had a similar thing with hacksaw recently bringing up this character here: https://github.com/ehousestudio/craft_hacksaw/issues/16

Any ideas on how to resolve this?

  • Could you copy and paste the strange character into the bottom field on this page and update your post with the results: freeformatter.com/string-utilities.html – Stephen Hamilton Oct 5 '16 at 14:06
  • This happens to me in my mamp environment as well. But not on my live server. I guess it's more of an server encoding problem (UTF8 vs. something else). – KSPR Oct 5 '16 at 14:25
  • @StephenHamilton here is the character's results on that page: dropbox.com/s/ipbhqt75dxo0vvy/… Further info on it: fileformat.info/info/unicode/char/0fffd/index.htm – joe Oct 5 '16 at 15:41
  • @KSPR this site is only local (on mamp) right now, DB is on utf8 general ci – joe Oct 5 '16 at 15:42
  • @joe Sounds like an environment issue then, could you maybe give us some more info on your web server setup? – Stephen Hamilton Oct 5 '16 at 15:45
1

I did contact Craft about this near the time this question was posted, they were not sure why it was occuring.

I found that this issue was environment specific, it was specifically happening locally on MAMP4, with 5.6.* using NGINX.

I was unable to find the cause of the issue, but, in the end it was not happening on server environments so I decided to give up.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.