BambooInvoice Forums

HTML entities issue

 
Total Posts: 24

Loving bamboo. Excellent.

I have 2 wee problems though.

I had it running on my mac fine, then i put it onto a windoze machine so others can use it.

Now pound signs are garbled!

So i tried one users method of adding htmlentities function in the getsetting function (in settings_model) around the $row->field.

This solved my problem, but on the order summary page, if you change the view of what status orders you want to see, the £ is replaced with the html entitie ie £

Really what i would love to know is, why is the encoding fine on my mac, but when i shift it over to my windoze machine the encoding is garbled.

Any ideas would be gratefully received!

Total Posts: 2339

Hm… what is the “collation” of your db set to (db, tables and fields).  If they aren’t already, try utf-8 (or utf_ci or whatever its called) and try re-entering the data again.

Thanks for the kind words.

Total Posts: 24

It is utf8_ci on both the source and the target machines.

Very odd.

Total Posts: 24

Well it was definitely the encoding of the db somewhere along the line. Re-entering the £ in the db rectified the problem.

Total Posts: 2339

woot!