Welcome to all phpBB2 Refugees!This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.
Posted: Thu Oct 31, 2019 1:28 am Post subject: Re: Degree symbol prevents Preview
Same issue here, but at least I know the reason. Hosting upgraded PHP to 5.6 and, as a gift, changed default_charset to UTF-8.
Being an spanish forum, we need proper encoding of non-ASCII characters. Forum encoded in ISO-8859-1, but HTTP header said UTF-8. A mess.
First, I started correcting HTTP header, modifying includes/page_header.php and admin/page_header_admin.php, but it was a partial solution, as then appeared the no Preview issue for any message containing non-ascii characters.
In short: it all depends on default_charset. If you cannot change global php configuration, do this: add this line at the beginning of common.php: