xref: /freebsd/contrib/dialog/samples/setup-utf8 (revision 2a3e3873a1e4cd958f2b0f85d3b10cfa40575d30)
1*2a3e3873SBaptiste Daroussin#!/bin/sh
2*2a3e3873SBaptiste Daroussin# $Id: setup-utf8,v 1.2 2012/06/29 09:50:32 tom Exp $
34c8945a0SNathan Whitehorn# vile:shmode
44c8945a0SNathan Whitehorn
54c8945a0SNathan Whitehorncase none"$LANG$LC_ALL$LC_CTYPE" in
64c8945a0SNathan Whitehorn*UTF-8*)
74c8945a0SNathan Whitehorn	;;
84c8945a0SNathan Whitehorn*)
94c8945a0SNathan Whitehorn	echo "This script must be run in a UTF-8 locale"
104c8945a0SNathan Whitehorn	exit 1
114c8945a0SNathan Whitehorn	;;
124c8945a0SNathan Whitehornesac
13