CMSB COOKBOOK PHP code copied from Firefox has nonprinting characters causing errors (I Think)

5 posts by 2 authors in: Forums > CMS Builder
Last Post: January 18   (RSS)

By Dave - January 12

Hi Jerry, 

That's an interesting one!  

It looks like the spaces in the code are being replaced by a multibyte UTF-8 sequence (hex: C2A0, unicode: U+00A0) which is the no-break-space (nbsp) Unicode character.  PHP doesn't understand that as a space, so it's as if there an unknown character anywhere a space should be.

It may be the code formatting PHP code is inserting that.  Or you might have some code that is turning   into that.  In any case, you want to use the HTML entity   

I'd double-check any code formatting code you have. 

Hope that helps!  Let me know what you find out!

Dave Edis - Senior Developer
interactivetools.com

By gkornbluth - January 13

Hi Dave,

Glad you could find a possible culprit.

Is there any way for you to check the php recipe code for any issues or required updates through consulting?

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Dave - January 17

Hi Jerry, 

Sure thing, just send through a second-level support ticket with instructions on how to recreate the issue and we'll have a look.  

Thanks!

Dave Edis - Senior Developer
interactivetools.com

By gkornbluth - January 18

Thank you Dave,

I've submitted the support request

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php