summaryrefslogtreecommitdiffstats
path: root/konsole/tests/utf8.sh
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /konsole/tests/utf8.sh
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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