[fea] add select codepage and inverted text mode