Skip to content

Instantly share code, notes, and snippets.

@dbb
Created May 23, 2016 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbb/979328d62d07c9cb411fbb48d3c4406d to your computer and use it in GitHub Desktop.
Save dbb/979328d62d07c9cb411fbb48d3c4406d to your computer and use it in GitHub Desktop.
utftest() {
if [[ -z $1 ]]; then
low=21
else
low=$1
fi
if [[ -z $2 ]]; then
high=1000
else
high=$2
fi
teststring=""
for i in {$low..$high}; do
teststring="${teststring} $(print \\u$i)"
done
print "${teststring}\n"
teststring=""
low=""
high=""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment