|
From: Yoshiki O. <Yos...@ac...> - 2004-09-28 23:34:17
|
Hello, At Tue, 28 Sep 2004 12:20:03 +0200, Bert Freudenberg wrote: > > Folks, > > I discussed this with Michael a bit and we came up with this proposal: > > * Add a new system attribute 1006 returning a string describing the > expected VM string encoding (http://minnow.cc.gatech.edu/squeak/314). > * Values are "UTF-8", "macintosh", "ISO-8859-1", etc. (exact spelling > as in http://www.iana.org/assignments/character-sets). > * If attribute 1006 is not supported, assume "macintosh". > > Using an attribute instead of a primitive seems simpler than a new > primitive. > > I'm not sure but I think it's possible to have filesystem-specific file > name encodings under Unix. If neccessary, we should add a primitive to > FilePlugin to answer the encoding for a particular directory, using the > same values as described above. Anyway, we probably can leave that to > later. We'll need a way to use possibly different encodings for: * File name * clipboard * keyboard input and possibly * default system encoding Assigning 1006 through 1008 would be good. I like the symbolic name idea, and vm attribute sounds good to me. Thank you for the proposal. I once signed up to implement it, but didn't quite get my hands on it. -- Yoshiki |