1

When a blog post has quotes or apostrophes in it “like this” or when it’s like ‘this,’ the punctuation is replaced with characters like ’s or ’s. This is only in the blog/entry template. Everything works fine in the blog/index template.

Any ideas why? Both templates have the following code in the header:

meta charset="utf-8"

And the site language is English.

Here is the code for the blog/entry template:

http://shorttext.com/xVwZkP

Can anyone point me in the right direction? I haven’t found much documentation on this. Help?

4
  • 1
    What character encoding is your database/table set to? My guess is there's a mismatch between your database and your document. Jul 29, 2013 at 19:30
  • Admin > Channel Administration > Channel (Blog) > XML Language > English That is also the default language on the General Configuration page.
    – stephen
    Jul 29, 2013 at 19:33
  • Do you have access to a tool like phpmyadmin or mysql on the command line where you can check the encodings for the database itself?
    – UltraBob
    Jul 30, 2013 at 3:25
  • We don't. Is there any way we can check using the EE web interface?
    – stephen
    Jul 30, 2013 at 3:49

1 Answer 1

1

What is the encoding of the blog/entry template? Open it on a code editor and make sure it's a UTF-8 no BOM file.

If you don't have access to the files by FTP, try... Well, I don't know if this will work. Let's try.

2
  • Is there a way I can check that in the web editor? The way our site is set up, we don't have FTP access.
    – stephen
    Jul 30, 2013 at 2:18
  • Answer updated.
    – Sobral
    Jul 30, 2013 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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