[squeak-dev] m17n simplification questions

Andreas Raab andreas.raab at gmx.de
Wed Sep 2 04:53:13 UTC 2009


Hi Yoshiki (and everyone else knowledgeable in m17n) -

I've been looking through some of the m17n stuff to simplify things and 
noticed some parts that I really don't know if they're still used or 
not. I don't want to remove them if they're used but I want to make sure 
we're not carrying dead weight (and some of it seems obsolete):

* HandMorph's CompositionManager: There is ImmAbstractPlatform, ImmWin32 
and ImmX11. Are these still in use and functional? Should we continue to 
support them?

* LanguageEnvironment converters: Is there any reason to assume that we 
will ever need to support any encodings other than UTF8/Unicode for the 
VM/image interface? Should we just get rid of all of these different 
converter methods and use the UTF8/Unicode conversions directly, i.e., 
instead of:

   converter := LanguageEnvironment defaultFileNameConverter.
   squeakPathName := vmPathString convertFromWithConverter: converter.

the code becomes:

   squeakPathName := vmPathString utf8ToSqueak.

* Converter classes: If the answer to the previous question is that we 
use UTF8/Unicode consistently, is there any reason whatsoever to keep 
the clipboard or keyboard interpreter classes? (we're talking a *lot* of 
classes here; keyboard interpreter has 15 subclasses; clipboard 
interpreter 12 etc).

* EncodedCharSet: Are any encodings other than Unicode currently in use? 
Do we need to explicitly support domestic CJK encodings given that we 
have Unicode + language tag?

Any comments on these issues are greatly appreciated.

Cheers,
   - Andreas




More information about the Squeak-dev mailing list