[plt-scheme] Changing current locale's encoding

From: Артамонов Николай (artamonov at newecoalt.ru)
Date: Wed Aug 9 18:59:26 EDT 2006

Hi all,

I have trouble with changing current locale's encoding.

This is what we have:

C:\Documents and Settings\kolyan>mzscheme
Welcome to MzScheme version 350, Copyright (c) 2004-2006 PLT Scheme Inc.
 > (current-locale)
 > (locale-string-encoding)
 > (system-language+country)

It is default settings for Windows (except language and country, but it 
does't matter). And I try to change current locale's encoding to cp866, 
so I do this:

 > (current-locale "Russian_Russia.866")
 > (current-locale)
 > (locale-string-encoding)

Eventually, encoding did't change to cp866. But locale name 
"Russian_Russia.866" perfectly works on Perl and Python (where I use 
setlocale()). Similar behaviour I have for other locale names, such as 
"ru_RU.CP866", "ru_RU.CP1251", "Russian_Russia.1251" and so on. What's 
wrong? ( MzScheme version: (version) => "350")

And second little question: how can i search in 
plt-scheme at list.cs.brown.edu mail list archives? Is it possible?

Thank you and sorry for my poor English.

Nikolay Artamonov

Posted on the users mailing list.