question about Latin1Environment>>fileNameConverterClass and 3.9

Yoshiki Ohshima yoshiki at squeakland.org
Mon Aug 14 01:10:39 UTC 2006


  John,

> I'll note you can't run in Latin1 path name mode in the mac VM  
> because there are many many characters you can enter in UTF8
> that will not convert to Latin1 via os-x system calls.
> 
> So should this be a Latin1TextConverter on windows, and UTf8 or  
> MacRoman elsewhere?
> Anyone have a proposed solution?

  Take a look at JapaneseEnvironment class>>fileNameConverterClass
and JapaneseEnvironment class>>systemConverterClass.  You'll need
similar thing for Latin1Environment.

  For future implementation, the locale mechanism should be used in a
better way to avoid this switching...

-- Yoshiki



More information about the Squeak-dev mailing list