On Fri, Aug 18, 2000 at 10:22:13AM -0500, Jarkko Hietaniemi wrote:
> Danger!  Only the implementer(s) of this pluggable data storage and
> its interface should care about details like "an array of wchars".
> All other people, even other core people, should use just the
> interface, not do things like wcharp[n].

Yes! With strongest voice, YES! This is roughly what I was saying earlier
about having an abstracted interface to strings.

>       if (open(OLDNIHONGO, "foo.old", ":sjis")) {
>          if (open(NEWNIHONGO, "foo.new", ":sjis")) {
>         while(<OLDNIHONGO>) {

No, conversion has to take place by here. You're asking for data to be
transformed into the internal format, and now you're reading that data. If we
have the data hanging around any longer, you have to have it in SJIS
internally and also tag the SV with a CV (Yes, I know I'm thinking in Perl5
terms but it's the best way to explain it) which converts 
SJIS->(Unspecified Internal Encoding) to be fired at some unspecified later
date.

Yuck.

-- 
It's a short step from using alt.binaries.warez.protocol-droids.c3p0 to
Palpatine seeing a post along the lines of: "CA|\| NE1 0N Th]5 BB0ARD T3Ll M3
H0w 2 GeT KeWL S]Th P0WeRZ!?!?!?!??!?"  The rest is, well, a couple
more overly-hyped ILM graphics demos.  -- [EMAIL PROTECTED] in ASR

Reply via email to