[plt-scheme] Locale problem
Hi,
I'm using DrScheme v299.100 on Windows 2000.
I found the following code crashes DrScheme.
--------------------------------------------
(current-locale "japanese")
(bytes->string/locale (make-bytes 100))
--------------------------------------------
I traced MzScheme source code (v299.106) by a debugger,
and I found the iconv_open function pointer is null
at string_to_from_locale function of string.c .
--------------------------------------------
if (to_bytes)
cd = iconv_open(mz_iconv_nl_langinfo(), MZ_UCS4_NAME);
--------------------------------------------
The problem might from that iconv.dll is not install on my system.
But just crashing is not smart.
Chihiro Kuraya
__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/