Skip to content

Commit 5c08927

Browse files
committed
Make Unicode script fit for future versions
Between Unicode 15.0.0 and 15.1.0, the whitespace in EastAsianWidth.txt has changed a bit, such as from 0020;Na # Zs SPACE to 0020 ; Na # Zs SPACE with space around the semicolon. Adjust the script to be able to parse that.
1 parent e0e492e commit 5c08927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/unicode/generate-unicode_east_asian_fw_table.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
chomp $line;
2424
$line =~ s/\s*#.*$//;
2525
next if $line eq '';
26-
my ($codepoint, $width) = split ';', $line;
26+
my ($codepoint, $width) = split /\s*;\s*/, $line;
2727

2828
if ($codepoint =~ /\.\./)
2929
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy