add set_codepage api to lcf_reader