Arne Vajhøj wrote:
[me:]
> > We were considering what changes would have been necessary back at the
> > beginning of Java's history for this UTF-16 mess to have been avoided,
> > or avoidable. I agree that we are in fact stuck with what we've got.
> >
> > Way back then there was no interoperability, since there was nothing to
> > interoperate /with/ 
>
> It is not backwards compatibility I am talking about.
>
> I am talking about interoperability between JVM's from
> different vendors.
>
> If you have a SUN and IBM Java exchanging binary data, then
> it is very beneficial that the number of bits in a char is
> well defined - not at least X bits as we all know it from C/C++.
Ah, I had misunderstood you. Sorry.
But I don't think it would have been possible to allow for binary compatibility
(in that sense) /and/ had the Java spec worded in such a way that it didn't
make it impossible to fix up future problems.
At least, not without buildng extra (explicit) flexibility into each binary
spec.
-- chris