-
Enhancement
-
Resolution: Fixed
-
P3
-
1.4.2, 6
-
b71
-
generic, x86
-
generic, linux
Name: rmT116609 Date: 07/15/2003
A DESCRIPTION OF THE REQUEST :
Linux version of JDK doesn't support uk_UA.KOI8-U locale.
User can't input symbols correctly into Java application under uk_UA.KOI8-U locale.
Also font.properties.uk is not provided.
JUSTIFICATION :
It's the most important locale for Linux users in Ukraine. Locale support is too similar to KOI*-R locale, which is already supported by JDK.
Btw, needed changes to JDK are ready and can be sent to sun developers on request.
There are two lines of code to sun.io.CharacterEncoding.java in the rt.jar and two new classes in charset.jar: ByteToCharKOI8_U.class CharToByteKOI8_U.class in sun.io package.
Also it's ready file font.properties.uk for correct font support in uk_UK locale.
(Incident Review ID: 189737)
======================================================================
A DESCRIPTION OF THE FIX :
Bug Number: 4890726
Bug Description: Linux version of JDK doesn't support uk_UA.KOI8-U locale
Linux versions of JRE don't support Ukrainian uk_UA.KOI8-U locale. Given than Ukrainian is the official language, this is major obstacle for developing Linux-based/crossplatform Java GUI apps for any kind of organizations, so there is a clear need in this RFE, and that's why it keeps its position in top 25 RFE's for more then year.
There are currently two ways to implement koi8-u charset support : first is to create java.nio.charset.spi.CharsetProvider implementation for the given charset, and second is to patch sun.io.CharacterEncoding.java and add 2 new classes in sun.io package : ByteToCharKOI8_U.class and CharToByteKOI8_U.class. My colleagues and I developed the patches for both ways. They are tested and used in production applications. Patches are to big to be easily submitted with this form so I desided just to post summary there.
AFAIK there is currently no plans to implement this RFE in Mustang. So I'd like to know is that possible at all, and if yes, how would you like to do it ( via CharsetProvider or CharacterEncoding ), so I could contribute the needed patch (of course, I can send them both).
Thanks in advance, Serhiy Pariev.
FIX FOR BUG NUMBER:
4890726
A DESCRIPTION OF THE REQUEST :
Linux version of JDK doesn't support uk_UA.KOI8-U locale.
User can't input symbols correctly into Java application under uk_UA.KOI8-U locale.
Also font.properties.uk is not provided.
JUSTIFICATION :
It's the most important locale for Linux users in Ukraine. Locale support is too similar to KOI*-R locale, which is already supported by JDK.
Btw, needed changes to JDK are ready and can be sent to sun developers on request.
There are two lines of code to sun.io.CharacterEncoding.java in the rt.jar and two new classes in charset.jar: ByteToCharKOI8_U.class CharToByteKOI8_U.class in sun.io package.
Also it's ready file font.properties.uk for correct font support in uk_UK locale.
(Incident Review ID: 189737)
======================================================================
A DESCRIPTION OF THE FIX :
Bug Number: 4890726
Bug Description: Linux version of JDK doesn't support uk_UA.KOI8-U locale
Linux versions of JRE don't support Ukrainian uk_UA.KOI8-U locale. Given than Ukrainian is the official language, this is major obstacle for developing Linux-based/crossplatform Java GUI apps for any kind of organizations, so there is a clear need in this RFE, and that's why it keeps its position in top 25 RFE's for more then year.
There are currently two ways to implement koi8-u charset support : first is to create java.nio.charset.spi.CharsetProvider implementation for the given charset, and second is to patch sun.io.CharacterEncoding.java and add 2 new classes in sun.io package : ByteToCharKOI8_U.class and CharToByteKOI8_U.class. My colleagues and I developed the patches for both ways. They are tested and used in production applications. Patches are to big to be easily submitted with this form so I desided just to post summary there.
AFAIK there is currently no plans to implement this RFE in Mustang. So I'd like to know is that possible at all, and if yes, how would you like to do it ( via CharsetProvider or CharacterEncoding ), so I could contribute the needed patch (of course, I can send them both).
Thanks in advance, Serhiy Pariev.
FIX FOR BUG NUMBER:
4890726