[Glass] Strange source import behaviour ..
Richard Sargent via Glass
glass at lists.gemtalksystems.com
Sat Dec 19 09:40:42 PST 2015
>> The source code imspected via vi or gedit (under Ubuntu and notepad++
under Windows) is ok,
Using an editor that reads UTF-8 to find out whether the character is as
encoded UTF-8 representation is not helpful. You need to use an editor that
lets you examine the raw bytes in the file. i.e. a so-called hex editor
However, the fact that it is recognized as a UTF-8 file is interesting.
Try inspecting the $- character in the generator to see if it really has
the value 16r2D or if it is a Unicode dash of some kind (i.e. code point >
127).
On Sat, Dec 19, 2015 at 9:26 AM, Marten Feldtmann via Glass <
glass at lists.gemtalksystems.com> wrote:
> Some additional infos:
>
> The source code format is recognized as UTF8 by topaz:
>
>
> output from topaz while executing the script:
> ...
> fileformat is now utf8
> sourcecodestringlcass is now Unicode16
> ...
>
>
> The source code imspected via vi or gedit (under Ubuntu and notepad++
> under Windows) is ok, BUT while executing topaz: topaz prints the source
> code (it was importing) to stdout and even there the source code has
> changed already from $- ...
>
> After all this is not a real problem for me. I transfer this sequence to
> my runtime and the I change the code generator in that way, that it calls
> the runtime ... though it would be interesting to find the reason for that.
>
> And the Gemstone/S version is 3.2.9 unter Ubuntu 14.04
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151219/052774e4/attachment.html>
More information about the Glass
mailing list