Unicode version supported by Java 6

淺唱寂寞╮ 提交于 2021-01-27 05:25:56

问题


Anyone know the answer? According to http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp, it's 4.0 for 5. Has it been upgraded in 6? Link to reference would be much appreciated as well.


回答1:


According to the ICU (International Components for Unicode), Java 6 is Unicode 4




回答2:


I needed to know the Unicode version supported by a particular Java version for several times, why not answer one of these questions to make it easier for the next time. So, a 7 YEARS LATER answer:

From Unicode Versions Supported in Java-History, last updated in 2012:

Java version   Release date         Unicode version

JDK 1.0        January 23, 1996     Unicode 1.1.5
JDK 1.1        February 19, 1997    Unicode 2.0
JDK 1.1.7      September 12, 1997   Unicode 2.1
J2SE 1.2       December 8, 1998     Unicode 2.1
J2SE 1.3       May 8, 2000          Unicode 2.1
J2SE 1.4       February 6, 2002     Unicode 3.0
J2SE 5.0       September 30, 2004   Unicode 4.0
Java SE 6      December 11, 2006    Unicode 4.0
Java SE 7      July 28, 2011        Unicode 6.0

JEPs

The OpenJDK project publishes a JEP document for each version incrementing Unicode.

  • JEP 128: Unicode BCP 47 Locale Matching in Java SE 8.
  • JEP 133 adds support for Unicode 6.2 in Java 8.
    See also: Internationalization Enhancements in JDK 8.
  • JEP 227 for adding Unicode 7 support in Java SE 9.
    JEP 267 adds support for Unicode 8 in Java SE 9 as well.
  • JEP 314: Additional Unicode Language-Tag Extensions in Java SE 10. (Tags for currency type, the first day of the week, region override and time zone will now be supported.)
  • JEP 327 adds Unicode 10 support in Java SE 11.
  • Release Note: Support for Unicode 11 explains support for Unicode 11 in Java 12.

Listing.

Java version   Release date         Unicode version

Java SE  8     2014-03              Unicode  6.2.0
Java SE  9     2017-09              Unicode  7.0 
                                          &  8.0
Java SE 11     2018-09              Unicode 10.0
Java SE 12     2019-03              Unicode 11.0
Java SE 13.0.2                      Unicode 12.1 

See Java 13.0.2 Release Notes.




回答3:


Unicode 5.1 is on the planned features list for Java in JDK 7. In Java 6 it remains Unicode 4.0.




回答4:


IDNA standard, see here.



来源:https://stackoverflow.com/questions/793402/unicode-version-supported-by-java-6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!