Force encode ncurses input to $encoding

Avoids using force_encoding incorrectly in fix_encoding. Assumes ncurses input to be in $encoding since it is tagged as ASCII-8BIT (binary).

Alternative to #124 and should replace some of the changes in #120. Should not re-introduce #117 and #115.