Support Japanese new era "令和 (Reiwa)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unicode-data (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned | ||
Bionic |
Won't Fix
|
Medium
|
Unassigned | ||
Disco |
Won't Fix
|
Medium
|
Unassigned |
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]
Unicode data include REIWA like it includes HEISEI. Reverse-
1) Rebuild reverse-depends of unicode-data; check that they build fine (ie. no regressions due to unicode-data changes):
Reverse-
=======
* console-data
* courier-unicode
* cyrus-imapd
* fntsample
* fonttools
* gucharmap
* ibus
* julia
* libxmlada
* node-unicode-data
* node-unicode-
* node-unicode-
* node-unicode-
* node-unicode-
* node-unicode-tr51
* re2
* safeclib
* slang2
* utf8proc
* wcwidth
* wine
* wine-development
2) Using gucharmap, verify that the SQUARE ERA NAME REIWA glyph point exists (there may not be a glyph associated as that is font-dependent.
== 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. Use fonts-noto-cjk to display the glyph.
[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.
tags: | added: id-5d42fb66205a650be638b946 |
Changed in unicode-data (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unicode-data (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in unicode-data (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in unicode-data (Ubuntu Disco): | |
importance: | Undecided → Medium |
description: | updated |
tags: |
added: verification-failed-bionic verification-failed-xenial removed: verification-needed-bionic verification-needed-disco verification-needed-xenial |
tags: |
added: verification-failed removed: verification-needed |
Unicode-data 12.1 includes the new glyph. Some packages may need some light porting to make them work (see gucharmap, for example).