[plt-scheme] weird utf-8 servlet output
Hi,
I'm evaluating plt-scheme web server and I just wrote a simple web
servlet.
Here it is:
(require (lib "unitsig.ss")
(lib "servlet-sig.ss" "web-server"))
(unit/sig () (import servlet^)
(define (build-page)
`(html
(head
(meta ((content "text/html; charset=utf-8;")
(http-equiv "Content-Type")))
(title "Sample"))
(body
(h1 "Türkçe"))))
(send/finish (build-page)))
Looking at the source of the output some characters lost at the end:
"<html><head><meta content="text/html; charset=utf-8;" http-equiv="Content-Type" /><title>Sample</title></head><body><h1>Türkçe</h1></body></html"
Writing more characters results more output lost. Does this means
that I cannot output UTF-8 strings?
Best Regards,
--
Aycan iRiCAN
C0R3 Computer Security Group
http://people.core.gen.tr/~aycan.irican/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20061018/d615ada8/attachment.sig>