Module

Developer
Supported

SurgeEO

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Digital Surgeons

     

You must be logged in to post.

Accented characters in title displaying incorrectly

Support Request

MoreSoda
MoreSoda

We’er using SurgeEO on a site which has recently been translated to a handful of other European languages.

Accented characters appear correctly throughout the page however ‘<title>’ information (defined in SurgeEO) that include an accented character spit out incorrect characters.

An example would be: Armbänder
Is displayed in the title tags on the page as: Armbänder

The page does include ‘<meta charset=“UTF-8”>’ set in the head.

Any help with how we can resolve this would be greatly appreciated.

MoreSoda
# 1
MoreSoda

Interestingly the problem was only occurring on the production site. My local build was rendering the characters correctly.

I’ve managed to “fix” the issue by adding html_entity_decode to line 536 of mod.surgeeo.php so it looks like;

  $this->return_data = html_entity_decode($prepend.$this->return_data.$append);