mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-users] Re: *parser and UTF-8


From: Kaloian Doganov
Subject: [MIT-Scheme-users] Re: *parser and UTF-8
Date: Thu, 29 Jun 2006 23:11:54 +0300

        By default, ports start in a simple coding -- you need to switch the
        coding after the port is opened:

        (port/set-coding port 'utf-8)

Thank you!  This is exactly what I need.

I thought that Scheme ports have no notion of "encoding" and deal only
with bytes, not characters.  It will be good if `port/set-coding'
procedure is mentioned in the MIT/GNU Scheme Reference, but my English
is very poor to suggest a documentation patch.

Thanks a lot for your help and time.


--
"Every non-free program has a lord, a master --
and if you use the program, he is your master." --RMS
___________________________________________________________
Ако не отговарям на писмата Ви: http://6lyokavitza.org/mail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]