Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8071956

internationalization tutorial has wrong values for high surrogate range

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9.0.4
    • None
    • docs
    • None

      The Java Tutorial page "Supplementary Characters as Surrogates," in the Internationalization trail, has the wrong values for the high surrogate range. It says,

          The first code point is from the high surrogates range of U+D800 to U+DFBB,

      The range is in fact from U+D800 to U+DBFF.

      A web link to the page in question is,

          http://docs.oracle.com/javase/tutorial/i18n/text/supplementaryChars.html

      For reference, the surrogate pages are also shown on the java.lang.Character page of the API specification:

          http://docs.oracle.com/javase/8/docs/api/java/lang/Character.html

            rgallard Raymond Gallardo
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: