#!/bin/sh
# stop unicode

# Based on console-tools 0.2.3.
# imz@altlinux.org, 10 March 2004.

##### Check correct invocation.
if [[ $# != 0 ]]; then
    printf $"Usage: %s" "$0" >&2
    exit 1
fi

##### This check doesn't seem to be useful, commented out:
# if ! vt-is-UTF8 --quiet ; then
#   echo "Already in byte-mode"
#   exit 0
# fi

kbd_mode -a

# console_codes(4): Select default (ISO 646 / ISO 8859-1)
printf %b '\033%@'

stty -iutf8
