Remove dependency of charset code on loadparm.