xref: /freebsd/contrib/dialog/samples/setup-utf8 (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1#!/bin/sh
2# $Id: setup-utf8,v 1.2 2012/06/29 09:50:32 tom Exp $
3# vile:shmode
4
5case none"$LANG$LC_ALL$LC_CTYPE" in
6*UTF-8*)
7	;;
8*)
9	echo "This script must be run in a UTF-8 locale"
10	exit 1
11	;;
12esac
13