Bug 821: kbd_field: CONFIG_UTF8 does not mean widget_data->cdata is UTF-8.
commit2fd8538a7251d23c59ee83769a37378b79d75106
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 22 Oct 2006 14:18:26 +0000 (22 17:18 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 22 Oct 2006 14:18:26 +0000 (22 17:18 +0300)
tree57b9409e5601f1cc07a5db6198d0304e2fb89e4d
parentd050cb67aa37390ab938b0a308c7541f19578506
Bug 821: kbd_field: CONFIG_UTF8 does not mean widget_data->cdata is UTF-8.

The current rules are:

             term.utf8
CONFIG_UTF8  UTF-8 I/O  widget_data.cdata
-----------  ---------  ------------------
undefined    disabled   charset of the terminal
undefined    enabled    charset of the terminal
defined      disabled   charset of the terminal (*)
defined      enabled    always UTF-8

(*) kbd_field was incorrectly assuming UTF-8 in this case.
src/bfu/inpfield.c