Hello Torsten, Am Thu, 20 Aug 2009 18:11:26 +0100 schrieb Torsten Anders <[email protected]>: > I just tried the following program on MacOS using utf-8 encoding. > > functor > import > Application > System > define > {System.showInfo "АБВГД bla"} > {Application.exit 0} > end > > Using the standard MacOS terminal, the Russian letters are printed > all right but there are quasi spaces added between them (when > copying the output text into another application, these spaces are > gone). By contrast, the xterm on MacOS under X11 produces some > garbage instead of the Russian letters.
maybe you can (assuming MacOS has a "normal" UNIX toolbox -- don't
really know) pipe the compiled functor's output through "od -x" or the
like, to find out if it's related to the generation of character code
or the rendering of it, as in:
$ ./testme | od -t x1c
0000000 d0 90 d0 91 d0 92 d0 93 d0 94 20 62 6c 61 0a
320 220 320 221 320 222 320 223 320 224 b l a \n
0000017
Hope it helps.
Eckard
signature.asc
Description: PGP signature
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
