Update Registration.php

added charset set up in DB connection parameters