Module

Archived
Forum
(read-only)

SurgeEO

ExpressionEngine 2

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

     

HTML entities aren’t output properly

Support Request

Christopher Dowson
Christopher Dowson

I have a client whose company name includes an accented o

This: ō

However if I include this character without escaping it, it renders (as expected) as gibberish.

If I try to include the character as escaped code - ō - it simply includes ō in the output, without conversion.

Um, help!

Moresoda
# 1
Moresoda

Try modifying line 536 of mod.surgeeo.php to read;

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

This has fixed the problem on one of our sites. It seems to be a server related issue possibly something to do with PHP versions.