The function gedcom_init now calls setlocale.