summaryrefslogtreecommitdiff
path: root/web/src/cgi.tcl-1.10/example/utf.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/cgi.tcl-1.10/example/utf.cgi')
-rw-r--r--web/src/cgi.tcl-1.10/example/utf.cgi17
1 files changed, 17 insertions, 0 deletions
diff --git a/web/src/cgi.tcl-1.10/example/utf.cgi b/web/src/cgi.tcl-1.10/example/utf.cgi
new file mode 100644
index 00000000..1a5a1243
--- /dev/null
+++ b/web/src/cgi.tcl-1.10/example/utf.cgi
@@ -0,0 +1,17 @@
+#!/local/bin/tclsh
+
+# Test UTF encoding
+
+package require cgi
+
+cgi_eval {
+ source example.tcl
+
+ cgi_title "Study utf encoding"
+ cgi_html {
+ cgi_body {
+ p "I'm going to be living on the Straüße."
+ }
+ }
+}
+