Fixed a codeignitter bug.
The charset parameter is now converted to lowercase and dashes are removed, because MySQL only accepts this parameter in this way.
Updated version information.