localcharset.h is screwed up somehow