Fixed saving codepage setting.