From Fedora Project Wiki
Line 65: Line 65:


[https://github.com/pravins/lohit Github repo] for scripts.
[https://github.com/pravins/lohit Github repo] for scripts.
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->



Revision as of 12:41, 15 January 2015


Glibc Unicode 7.0

Summary

We are updating Glibc Unicode data from Unicode 5.1 to Unicode 7.0 version. It took long time since there was not much documentation on how to update Unicode data and also there was chance of loosing backward compatibility. Most of the issues are resolved now and patches are ready for inclusion. This update adds around 8000 number of character support in Glibc and also correcting the Unicode data of many characters as per latest Unicode standard.

Owner

Current status

  • Targeted release: Fedora 22
  • Last updated: 14 Jan 2015
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

In this update we are planning to update Glibc's the Unicode locale data - character map and LC_CTYPE information to Unicode 7.0 version. This data is used almost in all locales and going to affect all applications using these locales. It is system wide change since it impacting glibc and application dependent on it. Glibc provides two files for Unicode data, UTF-8 and i18n. UTF-8 file provides information about CHARMAP and WIDTH for Unicode characters. i18n file provides CTYPE (uppercase, lowercase, punct etc.) information for all Unicode characters. It has been long time this is not updated due to incomplete documentation and also possible chances of loosing backward compatibility. Work has been started on this 5-6 months back and now most of the issues are resolved.

Respective bugs in upstream for more information.

Github repo for scripts.

Benefit to Fedora

With this change users and developers of Fedora will get Unicode 7.0 support through Glibc. Though we are upgrading from Unicode 5.1 to 7.0, users will only get updated Unicode data from Glibc. No new functionality added. Fedora is leading distribution when it comes to internationalization. By including this change Fedora users and developers will get latest Unicode standard.


Scope

  1. Writing scripts for generating UTF-8 and i18n files from Unicode character database.
  2. Preparing patch for UTF-8 and i18n files.
  3. Preparing backward compatibility report.
  4. Applying patches to Fedora.
  • Other developers: N/A (not a System Wide Change)
  Other Developers do not need to do any changes. We need proper testing though to see it does not break any application using Glibc api for UTF-8 and i18n.
  • Release engineering: N/A (not a System Wide Change)
  No work required from Release engineering.
  • Policies and guidelines: N/A (not a System Wide Change)
   No, this change does not required any updates to Policies or packaging guideline updates.

Upgrade/compatibility impact

Upgrade will be smooth. Users will get exact things with updated Unicode data.

N/A (not a System Wide Change)

How To Test

User Experience

Dependencies

  • No other RPMs packages depends on this.
  • Glibc upstream release 2.21 with this patch is going to miss Fedora 22 release deadline. We are going forward by patching Fedora glibc version.


Contingency Plan

  • Contingency mechanism: Will drop patches from Glibc build/
  • Contingency deadline: Before F22 Beta release. (not a System Wide Change)
  • Blocks release? No
  • Blocks product? product No

Documentation

This will be available with backward compatibility report.


Release Notes