I am looking to improve ‘(database postgres-qcons) sql-quote’
robustness in the face of diverse Guile behaviors.
Here is string-xrep.scm in its entirety:
(display (version))
(newline)
(for-each (lambda (n)
(simple-format #t "~S\t~S\t~S~%"
n
In en_US.UTF-8, guile from stable-2.0:
2.0.3.164-7d02e2
0 #\nul "\x00"
1 #\soh "\x01"
2 #\stx "\x02"
3 #\etx "\x03"
4 #\eot "\x04"
5 #\enq "\x05"
6 #\ack "\x06"
7 #\alarm "\a"
8 #\backspace "\b"
9 #\tab "\t"
10 #\
Hi Thi-
On the box I'm at right now, the locale is C
Guile 1.8 gives me the result in guile-1.8.out.
Guile 2.0 gives me the result in guile-2.0.out.
If I add a (setlocale LC_ALL "") to the top of the script
guile-2.0 gives me guile-2.0.out2.
guile-1.8 is unchanged.
-Mike
guile-1.8.out
Des