Dylan Smith : richedit: EM_SETTEXTEX detects ascii richtext with Unicode codepage.