Eric wrote:
>JDK 1.4 can render characters coded as surrogate pairs. This works in AWT
>and Swing.
Yup. It renders: I just tried it in my little test environment. But...
The control still "sees" both underlying characters. You can position the
cursor in the "middle" of the supplementary character and you can delete
HALF of it (or insert stuff in the middle of it). You can cursor through or
mouse select portions of it. And the text advance is for TWO characters (as
if both surrogate values took up equal space). So it's nearly useless,
except for static display. But it is better, I guess, than the old two-box
model.
Reminds me of the old days, where non-MBCS enabled programs appeared to work
(until they did a line break in the middle of a character, etc.).
Now, clearly a sufficiently motivated coder could re-implement the various
controls to work correctly, since the rendering is actually the hard bit.
Somehow I suspect that a BugParade issue would get rejected as "Unicode
3.0++ not supported in JDK1.4", even if everyone on this list went and voted
for it ;-).
Regards,
Addison
Addison P. Phillips
Globalization Architect
webMethods, Inc.
432 Lakeside Drive
Sunnyvale, California, USA
+1 408.962.5487 (phone)
+1 408.210.3569 (mobile)
----------------------------------------
Internationalization is an architecture.
It is not a feature.
This archive was generated by hypermail 2.1.2 : Wed Mar 27 2002 - 16:42:51 EST