Dmitry Negius wrote:
> I have done like you said under my Windows XS Service Pack 3 computer.
> I have written and compiled next:
> 
> functor
> import
>  Application
>  System
> define
>  {System.showInfo "АБВГД"}
>  {Application.exit 0}
> end
> 
> The output from this program is pseudo-graphic trash - not the Russian
> letters.

If the file was not saved in notepad, then open it in notepad, check
that the Cyrillic characters look correct, and then re-save it making
sure that the encoding is 'ANSI'. (This is just so that we can be sure
that the file is encoded as code page 1251, Windows Cyrillic.)

Open a command prompt and enter "chcp". It will probably say
"Active code page: 866". If so, then you are a victim of Microsoft
incompetence -- nothing specifically to do with Oz. Enter "chcp 1251"
and then try running the Oz program again from the prompt.

If that works, you will need to get the OPI to use code page 1251.
(I'm surprised it isn't using the ANSI code page by default; if it
isn't then I don't know how to fix it.)

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to