[plt-scheme] Outputting accents

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Wed May 10 04:41:23 EDT 2006

Hi all,

I'm having a problem with accents. With webit, when I do:
> (write-xml (h4:p "Olá"))
<p>Olá</p>

Everything shows up ok. However, when I do:
> (with-output-to-file "/home/pmatos/xxx.txt" (lambda () (write-xml (h4:p "Olá"))))

xxx.txt gets the wierd characters in place of "á".

Is there a wordaround for this?

Cheers,
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.