Hello,

can confirm that. See below.

Am Tue, 18 Aug 2009 12:29:08 +0200
schrieb Boriss Mejias <[email protected]>:
> 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)

For me even trying to compile the following snippet taken from
Wolfgang's mail doesn't work (Linux system with utf8 encoding; also
won't work with ascii string):

functor
import
  Application
  System
define
  {System.showInfo "ÄÖÜß"}
  {Application.exit 0}
end

$ ozc -e testme.oz
Mozart Compiler 1.4.0 (20090528) playing Oz 3

%%% feeding file testme.oz

%************************* expansion error **********************
%**
%** illegal use of nesting marker
%**
%** in file "./testme.oz", line 2, column 0
%** ------------------ rejected (1 error)

in Emacs it gives the same result, while the single line statement:

{System.showInfo "abc\näöü"}

gives:

{System.showInfo "abc\n,Adv|(B"}
% -------------------- accepted

in the compiler and

abc
,Adv|(B

in the emulator window (maybe it's displayed incorrectly: it's <ESC>
",Adv|" <ESC> "(B"). For me, the last one looks like either Emacs or Oz
has some problem with encodings.

But why doesn't compiling work -- where's the problem with the functor
(didn't try to compile into standalone app)?

Eckard

Attachment: signature.asc
Description: PGP signature

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

Reply via email to