Warning: include(grab_globals.inc.php): failed to open stream: No such file or directory in C:\webroot\www\apps\admin\mrbs-1.2.1\convert_db_to_utf8.php on line 8

Warning: include(): Failed opening 'grab_globals.inc.php' for inclusion (include_path='.;c:\php\includes;c:\webroot\www\common\cms') in C:\webroot\www\apps\admin\mrbs-1.2.1\convert_db_to_utf8.php on line 8
MRBS database encoding fixing script

MRBS database encoding fixing script


Notice: Undefined variable: PHP_SELF in C:\webroot\www\apps\admin\mrbs-1.2.1\convert_db_to_utf8.php on line 36

This script will convert all the text in the database from a selected encoding to UTF-8, to use with MRBS's new Unicode feature ($unicode_encoding in config.inc.php set to 1).
NOTE: Only run this script once. Running it more than once will make a right mess of any non-ASCII text in the database. I'd recommend you backup your database before running this script if you're at all worried.

Encoding to convert from: