Compare commits
No commits in common. "rawhide" and "f42" have entirely different histories.
2 changed files with 4 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ codepoints = 0
|
|||
|
||||
file = '/usr/share/unicode/ucd/UnicodeData.txt'
|
||||
|
||||
with open(file, mode='rt', encoding='ascii') as unicode_data:
|
||||
with open(file, mode='rt', encoding='utf-8') as unicode_data:
|
||||
for line in unicode_data.readlines():
|
||||
codepoint_string, name, category = line.split(';')[:3]
|
||||
codepoint = int(codepoint_string, 16)
|
||||
|
|
@ -12,5 +12,5 @@ with open(file, mode='rt', encoding='ascii') as unicode_data:
|
|||
codepoints = codepoints + 1
|
||||
|
||||
print(codepoints)
|
||||
# Unicode 17
|
||||
assert(codepoints == 40575)
|
||||
# Unicode 16 has 40116
|
||||
assert(codepoints > 40000)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
Name: unicode-ucd
|
||||
Version: 17.0.0
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Unicode Character Database
|
||||
|
||||
# http://www.unicode.org/terms_of_use.html in ReadMe.txt redirects to:
|
||||
|
|
@ -63,12 +63,6 @@ cp %{SOURCE2} .
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Sep 10 2025 Jens Petersen <petersen@redhat.com> - 17.0.0-1
|
||||
- https://www.unicode.org/versions/Unicode17.0.0/
|
||||
- https://blog.unicode.org/2025/09/unicode-170-release-announcement.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue