Hi, i think there shouldn't be any transcoding of guile's strings, as strings are internal representation of characters, no matter how they are encoded. So the only time when encoding matters is when it passes it's `internal boundarys', i mean if you write the string to a port or read from a port or pass it as a string to a foreign library. For the ports all transcoding is available, and as said, the real representation of guile strings internally is as utf8, which can't be changed. The only additional thing i forgot about are bytevectors, if you convert a string to an explicit representation, but afaik there you also can give the encoding to use.
Am I wrong? - Daniel On Sat, Apr 28, 2012 at 7:33 PM, Thien-Thi Nguyen <t...@gnuvola.org> wrote: > () Sunjoong Lee <sunjo...@gmail.com> > () Sun, 29 Apr 2012 01:38:28 +0900 > > http-get is innocent but I need encoding converter yet. > > It sounds like a good exercise (that would flush out bugs and > raise confidence in the infrastructure) would be to implement > an iconv-workalike program in Scheme. Maybe one already exists? >