Anonymous user
Terminal control/Unicode output: Difference between revisions
Terminal control/Unicode output (view source)
Revision as of 20:28, 11 September 2011
, 12 years ago→{{header|AWK}}
m (→{{header|AWK}}) |
m (→{{header|AWK}}) |
||
Line 14:
if (ENVIRON["LANG"] !~ "UTF")
unicodeterm=0 # This terminal does not support Unicode
if (unicodeterm)
Line 24:
# U+25B3 => UTF-8 342 226 263
"/usr/bin/printf \\342\\226\\263\\n"
else
do
print "HW65001 This program requires a Unicode compatible terminal"|"cat 1>&2"
exit 252 # Incompatible hardware
=={{header|UNIX Shell}}==
|