Win32 VM 3.10.6 problem with special characters

Yoshiki Ohshima yoshiki at vpri.org
Tue Oct 16 21:01:14 UTC 2007


  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)?

-- Yoshiki



More information about the Squeak-dev mailing list