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

I use my own code to drive displays but what is happening when a wysiwyg field is pushed out is that right and left apostrophes (like `) are showing as invalid utf-8 characters. What I have been doing is manually editing the db record to change them to ’ which works but then wrecks things for later editing in cams. I did try str_replace to convert the characters but it seems as though the field is already munged in he return from the table.

Any suggestions?

---

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.

:-)

---

Ok, glad it's working! 

Dave Edis - Senior Developer
interactivetools.com