Win32 VM 3.10.6 problem with special characters

Bert Freudenberg bert at freudenbergs.de
Tue Oct 16 23:38:57 UTC 2007


On Oct 16, 2007, at 23:01 , Yoshiki Ohshima wrote:

>   Hello,
>
>   What is the best way to tell if the VM supports Unicode from the
> image?  On Windows VM 3.10.6 on Windows XP, I get the following (and
> some more over 10000 and under 0):
>
> ---------------
> SmalltalkImage current getSystemAttribute: 1001 'Win32'
> SmalltalkImage current getSystemAttribute: 1002 'NT'
> SmalltalkImage current getSystemAttribute: 1003 'IX86'
> SmalltalkImage current getSystemAttribute: 1004 'Squeak3.9 of 7  
> November 2006 [latest update: #7067]'
> SmalltalkImage current getSystemAttribute: 1005 'Win32'
> SmalltalkImage current getSystemAttribute: 1006 'Win32 built on Aug  
> 30 2007 21:39:35 Compiler: 2.95.2 19991024 (release)'
> ---------------
>
>   I would like to get a String that contains "3.10.6", but none of
> above does.
>
>   The same goes for the Unix VM.  I cannot seem to get a string with
> "3.9-12" or such.  How about if we define system attribute 1007 for a
> "real VM version" (equivalent of VM_VERSION macro for Windows)?

Why not let the VM return the encoding string from a system attribute?

- Bert -





More information about the Squeak-dev mailing list