[plt-scheme] weird utf-8 servlet output

From: Aycan iRiCAN (aycan.irican at core.gen.tr)
Date: Tue Oct 17 18:05:15 EDT 2006


I'm evaluating plt-scheme web server and I just wrote a simple web

Here it is:

(require (lib "unitsig.ss")
         (lib "servlet-sig.ss" "web-server"))

(unit/sig () (import servlet^)
  (define (build-page)
       (meta ((content "text/html; charset=utf-8;")
              (http-equiv "Content-Type")))
       (title "Sample"))
       (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
-------------- 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>

Posted on the users mailing list.