utfmb4 character set displaying the <?>

4 posts by 2 authors in: Forums > CMS Builder
Last Post: June 19, 2019   (RSS)

By Dave - June 19, 2019

Hi Larry, 

I wasn't able to recreate this yet.  I created some angled quote text and it displayed correctly on reload in the CMS and in the viewers.  Here's my sample text: 

Hello “world” test

Some things to try: 

  • Do the quotes redisplay correctly in the CMS?
  • What charset does your browser indicate the viewer page is displaying in?
  • Try to load the record directly and display it.  Does it still not display correctly?  Sample code: 
  $record = mysql_get('news', 1); // table name, record num

Let me know what you find out.  Thanks!

Dave Edis - Senior Developer

By jenolan - June 19, 2019

I resolved it by doing this;

$row['content'] = Cleanup::makeUTF8( $row['content'] );

The page is set to UTF8, but not showing the stuff correctly obviously I have something setup wrong but I simply can not find it. Oh well hammer it to compliance.



By Dave - June 19, 2019

Ok, glad it's working! 

Dave Edis - Senior Developer