summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2010-03-16 21:35:29 +0000
committerNeil Jerram <neil@ossau.uklinux.net>2010-03-16 21:35:29 +0000
commitd3fd65adfb9daec00aef61dfc7709f62030d25b5 (patch)
treeea7f1fd8fe26a64c7e238a71f32d9c3366fb622d
parentc45edd47ed07e452d8e529615e36289549586d0a (diff)
downloadguile-wip-utf16-debugging.tar.gz
Miscellaneous testing fileswip-utf16-debugging
-rw-r--r--emacs/test.scm6
-rw-r--r--hello-test.scm9
-rw-r--r--hello.txtbin0 -> 18 bytes
3 files changed, 15 insertions, 0 deletions
diff --git a/emacs/test.scm b/emacs/test.scm
new file mode 100644
index 000000000..602a35efd
--- /dev/null
+++ b/emacs/test.scm
@@ -0,0 +1,6 @@
+(display (+ 3 4 5))
+(newline)
+(display (cons 'adding (cdr (command-line))))
+(newline)
+(display (apply + (map string->number (cdr (command-line)))))
+(newline)
diff --git a/hello-test.scm b/hello-test.scm
new file mode 100644
index 000000000..56c37d4e1
--- /dev/null
+++ b/hello-test.scm
@@ -0,0 +1,9 @@
+(use-modules (ice-9 rdelim))
+(for-each (lambda (i)
+ (write (with-input-from-file "/home/neil/google-neil.csv"; "hello.txt"
+ (lambda ()
+ (set-port-encoding! (current-input-port) "UTF16LE")
+ (read-line))))
+ (newline))
+ (iota 5))
+
diff --git a/hello.txt b/hello.txt
new file mode 100644
index 000000000..429a04e90
--- /dev/null
+++ b/hello.txt
Binary files differ