← Back to team overview

openjdk team mailing list archive

[Bug 1828884] Re: [META] Handling Japanese new era "令和 (Reiwa)"

 

Oops; picked the wrong openjdk...

FWIW; according to the email by Mitsuya Shibata, openjdk 8 and 11 at
least are affected (so, everything prior to disco if updates are not
applied. Openjdk-8 updates appear to already be at 8u212, which should
include Reiwa support. Marking as Fix Released so we can see at a glance
that it's already been covered.

** Also affects: openjdk-13 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: icu (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: unicode-data (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: poppler-data (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  [Background]
  Many packages are affected by the requirement to support the new era "Reiwa" (令和)
  
  This is the meta bug to track packages that need fixes; which packages
  have already been SRUd to previous releases, how to prioritize the work
  needed, and general test cases for verifying that things are working as
  expected.
  
  [Impact]
  Users who run Ubuntu in Japanese.
  
  [Test cases]
  
  == Date conversion ==
  
  On applications that support writing dates in long form, or with symbols
  to denote era (either in X00.00.00 format or in GG1G5G1G format  (G-
  glyph; X- character):
  
  1) Enable date formatting in each of the above formats that are supported (long form or symbols)
  2) Type in '2019/05/01' to be formatted, verify that it shows as "令和1年5月1日" or "R1.05.01"
  3) Type in '2019/04/30' to be formatted, verify that it shows as "平成31年4月30日" or "H31.4.30"
  
  == Date output ==
  
  1) Set date to 2019/05/01
  2) Output date; verify that the year it is displayed as "令和元年"
  3) Set date to 2019/04/30
  4) Output date; verify that the year is diplayed as "平成31年"
  
  === Displaying formatted year for Japanese era with glibc ===
  
  Run:
  LC_ALL=ja_JP.utf8 date +%EY -d 20190430   # previous era (should still work as before SRUs)
  or
  LC_ALL=ja_JP.utf8 date +%EY -d 20190501   # new era (should now correctly display the new era)
  
  == Character maps / font support ==
  
  1) Search for character "SQUARE ERA NAME"
  2) Verify that the results include at least "SQUARE ERA NAME HEISEI" and "SQUARE ERA NAME REIWA" (there should also be Syouwa, Taisyou and Meizi), and that the glyphs are readable:
  
   - SQUARE ERA NAME HEISEI:  ㍻
   - SQUARE ERA NAME REIWA:   令和 (in a single glyph)
  
  Display of the Reiwa square glyph is font-specific; it may show simply
  as a empty square or a square with hex characters. If that is the case,
  the unicode data supports the new character, but the selected font does
  not include the new glyph.
  
  == Typing / input methods ==
  
  1) Type in 'heisei'
  2) Verify that the input method in use gives you an option "平成", and optionally also the square era glyph.
  3) Type in 'reiwa'
  4) Verify that the input method in use gives you an option that includes "令和", and possibly also the square era glyph (if supported for Heisei)
  
  5) Type in the following strings, and verify that the options are provided in the input method:
-     * "れいわ"(reiwa) => "令和"
-     * "れいわ"(reiwa) => "㋿"
-     * "2018ねん"(2018nenn) => "平成三十年"
-     * "2018ねん"(2018nenn) => "平成三十年"
-     * "2019ねん"(2019nenn) => "平成三十一年"
-     * "2019ねん"(2019nenn) => "令和元年"
-     * "2020ねん"(2020nenn) => "令和二年"
+     * "れいわ"(reiwa) => "令和"
+     * "れいわ"(reiwa) => "㋿"
+     * "2018ねん"(2018nenn) => "平成三十年"
+     * "2019ねん"(2019nenn) => "平成三十一年"
+     * "2019ねん"(2019nenn) => "令和元年"
+     * "2020ねん"(2020nenn) => "令和二年"
  
  /!\ Some fonts, like fonts-noto-cjk, currently have no glyph for U+32FF.
  
  [Regression potential]
  This is a potentially large change as it impacts font display, character sets as well as date conversions. As such, extreme care should be taken to ensure that regressions are avoided, such that dates previous to May 1, 2019 continue to display as before, and dates onward are displayed with the new era symbols. The included test cases account for verifying the continued behavior or previous dates.

** No longer affects: openjdk-13 (Ubuntu)

** Also affects: openjdk-8 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: openjdk-8 (Ubuntu)
       Status: New => Fix Released

** Also affects: gucharmap (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: icu (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: unicode-data (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: poppler-data (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: mozc (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: libreoffice (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: libreoffice-l10n (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: openjdk-8 (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: fonts-noto-cjk (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: gnome-characters (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: gucharmap (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: icu (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: unicode-data (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: poppler-data (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: mozc (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libreoffice (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libreoffice-l10n (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: openjdk-8 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: fonts-noto-cjk (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: gnome-characters (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: gucharmap (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: icu (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: unicode-data (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: poppler-data (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: mozc (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: libreoffice (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: libreoffice-l10n (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: openjdk-8 (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: fonts-noto-cjk (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: gnome-characters (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: gucharmap (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: icu (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: unicode-data (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: poppler-data (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: mozc (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: libreoffice (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: libreoffice-l10n (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: openjdk-8 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: fonts-noto-cjk (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: gnome-characters (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: libreoffice (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: libreoffice-l10n (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1828884

Title:
  [META] Handling Japanese new era "令和 (Reiwa)"

Status in fonts-noto-cjk package in Ubuntu:
  New
Status in gnome-characters package in Ubuntu:
  New
Status in gucharmap package in Ubuntu:
  New
Status in icu package in Ubuntu:
  New
Status in libreoffice package in Ubuntu:
  Fix Released
Status in libreoffice-l10n package in Ubuntu:
  Fix Released
Status in mozc package in Ubuntu:
  Fix Released
Status in openjdk-8 package in Ubuntu:
  Fix Released
Status in poppler-data package in Ubuntu:
  New
Status in unicode-data package in Ubuntu:
  New
Status in fonts-noto-cjk source package in Xenial:
  New
Status in gnome-characters source package in Xenial:
  New
Status in gucharmap source package in Xenial:
  New
Status in icu source package in Xenial:
  New
Status in libreoffice source package in Xenial:
  New
Status in libreoffice-l10n source package in Xenial:
  New
Status in mozc source package in Xenial:
  New
Status in openjdk-8 source package in Xenial:
  New
Status in poppler-data source package in Xenial:
  New
Status in unicode-data source package in Xenial:
  New
Status in fonts-noto-cjk source package in Bionic:
  New
Status in gnome-characters source package in Bionic:
  New
Status in gucharmap source package in Bionic:
  New
Status in icu source package in Bionic:
  New
Status in libreoffice source package in Bionic:
  New
Status in libreoffice-l10n source package in Bionic:
  New
Status in mozc source package in Bionic:
  New
Status in openjdk-8 source package in Bionic:
  New
Status in poppler-data source package in Bionic:
  New
Status in unicode-data source package in Bionic:
  New
Status in fonts-noto-cjk source package in Cosmic:
  New
Status in gnome-characters source package in Cosmic:
  New
Status in gucharmap source package in Cosmic:
  New
Status in icu source package in Cosmic:
  New
Status in libreoffice source package in Cosmic:
  New
Status in libreoffice-l10n source package in Cosmic:
  New
Status in mozc source package in Cosmic:
  New
Status in openjdk-8 source package in Cosmic:
  New
Status in poppler-data source package in Cosmic:
  New
Status in unicode-data source package in Cosmic:
  New
Status in fonts-noto-cjk source package in Disco:
  New
Status in gnome-characters source package in Disco:
  New
Status in gucharmap source package in Disco:
  New
Status in icu source package in Disco:
  New
Status in libreoffice source package in Disco:
  New
Status in libreoffice-l10n source package in Disco:
  New
Status in mozc source package in Disco:
  New
Status in openjdk-8 source package in Disco:
  New
Status in poppler-data source package in Disco:
  New
Status in unicode-data source package in Disco:
  New

Bug description:
  [Background]
  Many packages are affected by the requirement to support the new era "Reiwa" (令和)

  This is the meta bug to track packages that need fixes; which packages
  have already been SRUd to previous releases, how to prioritize the
  work needed, and general test cases for verifying that things are
  working as expected.

  [Impact]
  Users who run Ubuntu in Japanese.

  [Test cases]

  == Date conversion ==

  On applications that support writing dates in long form, or with
  symbols to denote era (either in X00.00.00 format or in GG1G5G1G
  format  (G- glyph; X- character):

  1) Enable date formatting in each of the above formats that are supported (long form or symbols)
  2) Type in '2019/05/01' to be formatted, verify that it shows as "令和1年5月1日" or "R1.05.01"
  3) Type in '2019/04/30' to be formatted, verify that it shows as "平成31年4月30日" or "H31.4.30"

  == Date output ==

  1) Set date to 2019/05/01
  2) Output date; verify that the year it is displayed as "令和元年"
  3) Set date to 2019/04/30
  4) Output date; verify that the year is diplayed as "平成31年"

  === Displaying formatted year for Japanese era with glibc ===

  Run:
  LC_ALL=ja_JP.utf8 date +%EY -d 20190430   # previous era (should still work as before SRUs)
  or
  LC_ALL=ja_JP.utf8 date +%EY -d 20190501   # new era (should now correctly display the new era)

  == Character maps / font support ==

  1) Search for character "SQUARE ERA NAME"
  2) Verify that the results include at least "SQUARE ERA NAME HEISEI" and "SQUARE ERA NAME REIWA" (there should also be Syouwa, Taisyou and Meizi), and that the glyphs are readable:

   - SQUARE ERA NAME HEISEI:  ㍻
   - SQUARE ERA NAME REIWA:   令和 (in a single glyph)

  Display of the Reiwa square glyph is font-specific; it may show simply
  as a empty square or a square with hex characters. If that is the
  case, the unicode data supports the new character, but the selected
  font does not include the new glyph.

  == Typing / input methods ==

  1) Type in 'heisei'
  2) Verify that the input method in use gives you an option "平成", and optionally also the square era glyph.
  3) Type in 'reiwa'
  4) Verify that the input method in use gives you an option that includes "令和", and possibly also the square era glyph (if supported for Heisei)

  5) Type in the following strings, and verify that the options are provided in the input method:
      * "れいわ"(reiwa) => "令和"
      * "れいわ"(reiwa) => "㋿"
      * "2018ねん"(2018nenn) => "平成三十年"
      * "2019ねん"(2019nenn) => "平成三十一年"
      * "2019ねん"(2019nenn) => "令和元年"
      * "2020ねん"(2020nenn) => "令和二年"

  /!\ Some fonts, like fonts-noto-cjk, currently have no glyph for
  U+32FF.

  [Regression potential]
  This is a potentially large change as it impacts font display, character sets as well as date conversions. As such, extreme care should be taken to ensure that regressions are avoided, such that dates previous to May 1, 2019 continue to display as before, and dates onward are displayed with the new era symbols. The included test cases account for verifying the continued behavior or previous dates.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-noto-cjk/+bug/1828884/+subscriptions