Hi all,
Characters from other western language are not supported either. I haven't
noticed it until now even though I'm Spanish native speaker, but I'm so used
to lacking support that I didn't even try until now.
Anyway... Here are the test I just made
{Browse "á"} -> [195 177] two codes
{Browse "ñ"} -> [195 161] two codes two, which is not the same as
{Browse "n~"} -> [110 126]
I assume 195 is a composition code
Then, the last two tests:
{Browse &a} -> 97
{Browse &á} -> error
%************************** lexical error ***********************
%**
%** illegal character
%**
%** in file "Oz", line 7, column 10
%** ------------------ rejected (1 error)
cheers
Boriss
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.
So compiler or interpreter or both has erorrs in the cyrillic support.
This not means that Mozart OPI is correct. Mozart OPI has mistake also
because written in the FAR Commander editor Oz program with correctly
displayed russian letters is wrong displayed in the Mozart OPI.
2009/8/17 Wolfgang Meyer <[email protected]
<mailto:[email protected]>>
Hi,
actually, ASCII only defines the codes 0-127.
Oz uses the ISO/IEC 8859-1 charset, which covers Western European
languages.
However, as long as you only use normal input and output and no GUI,
it might still work with Cyrillic symbols on a Computer which uses a
Cyrillic codepage.
To test whether the problem is with Emacs or with Oz, you could
write a little program like
functor
import
Application
System
define
{System.showInfo "some Cyrillic text"}
{Application.exit 0}
end
Compile it with "oz -c filename.oz" and execute it in a
shell/DOS-Box with "ozengine filename.ozf".
If this works, we know that the problem is either with Emacs or with
the Oz-Emacs-interface.
Cheers,
Wolfgang
> Cyrillic symbols are situated in the high part of ASCII table and has
> codes
> lower then 256.
> Oz program with cyrillic symbols is ASCII text, but is wrong
displayed by
> the Emacs OPI.
> Question is still open :-)
>
> 2009/8/17 Torsten Anders <[email protected]
<mailto:[email protected]>>
>
> > Dear Dmitry,
> >
> > On 17 Aug 2009, at 14:25, Dmitry Negius wrote:
> >
> > Hello.
> > I study Mozart - Oz now and found a problem with Cyrillic input
in the
> > Emacs OPI.
> > Both 3 cyrillic inputs modes does not work in the Emacs - input
letters
> are
> > displaed
> > incorrectly.
> >
> > Is it Mozart or Emacs bug and is there workaround of this problem?
> >
> >
> > As far as I know, Mozart source must be ASCII. Unicode support was
> > discussed before (check the mailing list archive) but not part
for the
> > language. Mozart extensions for Unicode are proposed by
> >
> > * http://www.snowlion.nl/mozart/
> > * http://www.mozart-oz.org/mogul/info/fkonvick/unicode.html
> >
> > Hope I understood your question..
> >
> > Best
> > Torsten
> >
> > --
> > Torsten Anders
> > Interdisciplinary Centre for Computer Music Research
> > University of Plymouth
> > Office: +44-1752-586219
> > Private: +44-1752-558917
> > http://strasheela.sourceforge.net
<http://strasheela.sourceforge.net/>
> > http://www.torsten-anders.de <http://www.torsten-anders.de/>
> >
> >
> >
> >
> >
> >
>
--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
_________________________________________________________________________________
mozart-users mailing list
[email protected] <mailto:[email protected]>
http://www.mozart-oz.org/mailman/listinfo/mozart-users
--
Normal people grows o...@#
------------------------------------------------------------------------
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users