summaryrefslogtreecommitdiffstats
path: root/konsole/tests/utf8.sh
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/tests/utf8.sh')
-rwxr-xr-xkonsole/tests/utf8.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/konsole/tests/utf8.sh b/konsole/tests/utf8.sh
new file mode 100755
index 000000000..26d669d3d
--- /dev/null
+++ b/konsole/tests/utf8.sh
@@ -0,0 +1,11 @@
+#!/bin/bash --
+#
+# Switch utf-8 mode
+#
+#-------------------------------------------------------------------------
+
+case $1 in
+ on) echo $'\033%G'"UTF-8 on";;
+ off) echo $'\033%@'"UTF-8 off";;
+ *) echo "usage: $0 [on|off]";;
+esac