I have just upgraded my site from 4.6.8 to 4.7.4 - apparently successfully.
Most of the content on my site is organised in books, and when I look at the list of chapters within a node of a book, I can see that right and left quotes which should look like this:
Companies debate ‘workers’ control’
now look like this:
Companies debate ‘workers’ control’
However, when I actually click on the title and look at the node itself, the title displays correctly.
At the bottom of the node (chapter) however, I see two oddities in the "previous/next" links:
- The apostrophes appear incorrectly (although ok in the title)
- The article points to itself (this only seems to happen for articles that have "strange" characters).
I am very worried about this because what is a nuisance in an English site will be catastrophic in any language with accents.
This problem seems to be related to an issue in the 'Views' module, which does the same thing. I have made a query to the forum here - but if this is a bug in the book module I would welcome some advice - and a fix would be even better!
Comments
Comment #1
andrewfn commentedThe issue here almost certainly relates to the encoding of the text. It looks like it is UTF-8 encoded in which single and double quotes are a three byte sequence. In many cases a safe alternative is to use named characters such as
‘etc. instead, although I don't think this works in Drupal titles. The first thing you should check is that your final rendered page includes the line<meta http-equiv="content-type" content="text/html; charset=utf-8" />at the top.Comment #2
joel_guesclin commentedThanks for your comments. Here is what I observe:
Comment #3
joel_guesclin commentedSorry - forgot to put details about my system!
Comment #4
killes@www.drop.org commentedWhich theme are you using?
Comment #5
joel_guesclin commentedApologies for not replying earlier - I have just gotten back from a week's holiday. In answer to the question, I am using Bluemarine (though I have also the same result with box_grey).
We have also just upgraded sites in Portuguese and Bengali, apparently with no problems. I wonder whether the issue could be restricted to the "quotes" characters which correspond to the following HTML entities:
Comment #6
pasqualleThis version is not supported. Reopen or create a new issue if the problem exist in any recent version (version equal or above Drupal 5)