Hey guys & girls
Although I've found what I believe to be a few threads already on this topic, they are not in English, which isn't quite so useful for me.
The problem is this: lots of text in our database contains double byte UTF-8 characters but PrestaShop does not display these characters as intended (instead, each byte is displayed as an individual character). As far as I can tell, the page source is set to UTF-8, as is the database.
For a simple example, I have created two entries for the manufacturer Cébé.
One uses extended ASCII (codes: 67, 233, 98, 233)
The other uses double byte chars (codes: 67, 195, 169, 98, 195, 169)
In my test module, which loads these values from the database and then displays on screen, the output is:
C�b�
Cébé
Exactly as expected. In the shop front, however, I unfortunately get the following:
Cébé
Cébé
What do I need to do in order to have these (and other) double byte characters display correctly in the shop front? I have tried removing "|escape:'htmlall':'UTF-8'" from the Smarty template where these characters are output, but that made no difference.
Thanks for any help you can provide.
Edit: I should add, the field, table and database collations are all set to "utf8_general_ci", yet I get the same problem viewing the data in phpMyAdmin, and in a feed I create from the database. Perhaps the question should be, why do the characters display correctly in my module?