IMPORTANT: UTF8, ACP, - A, and - W APIs For Readline to work properly, the input codepage needs to be UTF8. The sample program in this repo sets the C runtime to use UTF8 as the input/output locale.