Can we change the unicode version used by java?

Java 7 supports Unicode 6.0. Unicode 4.0 support is limited to versions 5.0 and 6.0 of the Java platform.

Unicode 6.2.0 is a minor version of the Unicode standard and replaces all previous versions. Version 6.2 of the Unicode standard is a special issue dedicated to the early publication of the new coded Turkish Lira mark.

Is it possible to use this latest version 6.2 in a web application that uses java 7?

+4
source share
2 answers

I'm not sure what you need, but if you do not need the character properties or the name of the lyre sign, then there is no reason why you cannot use it. Regarding code points, Java just does what you say. As long as you have a font that can display it, you can use any character you like. Java will not check its internal Unicode character database to see if this code point is actually used and refuses to display it if not.

In cases where this occurs, character properties or updated algorithms are required. But the lyre sign is a pretty normal character for these purposes, it would probably be different if you were trying to use U + XNEW COMBINING AWESOMENESS BELOW, but even that would probably require more font than application support.

+3
source

you can input and output unicode-6.2 encoded text if you move your project to use icu instead of using characters and strings from the jdk library. The latest icu version supports unicode 6.2 . in order to display it on the screen, you will need a compatible font, but if you are writing a web application (which displays the text / html), this is not your problem. if you want java built-in classes to support unicode 6.2, you need to wait for jdk8 - http://openjdk.java.net/jeps/133

+3
source

All Articles