forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita8674a8
Treat Unicode codepoints of category "Format" as non-spacing
Commitd8594d1 updated the list of non-spacing codepoints usedfor calculating display width, but in doing so inadvertently removedsome, since the script used for that commit only considered combiningcharacters.For complete coverage for zero-width characters, include codepoints inthe category Cf (Format). To reflect the wider purpose, also rename filesand update comments that referred specifically to combining characters.Some of these ranges have been missing since v12, but due to lack offield complaints it was determined not important enough to justify addingspecial-case logic the backbranches.Kyotaro HoriguchiReport by Pavel StehuleDiscussion:https://www.postgresql.org/message-id/flat/CAFj8pRBE8yvpQ0FSkPCoe0Ny1jAAsAQ6j3qMgVwWvkqAoaaNmQ%40mail.gmail.com1 parentd568960 commita8674a8
File tree
4 files changed
+34
-23
lines changed- src
- common
- unicode
- include/common
4 files changed
+34
-23
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
Lines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 |
| |
30 |
| - | |
| 32 | + | |
31 | 33 |
| |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
38 |
| - | |
| 40 | + | |
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
620 | 620 |
| |
621 | 621 |
| |
622 | 622 |
| |
623 |
| - | |
| 623 | + | |
624 | 624 |
| |
625 | 625 |
| |
626 | 626 |
| |
| |||
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 |
| - | |
| 641 | + | |
642 | 642 |
| |
643 | 643 |
| |
644 | 644 |
| |
| |||
657 | 657 |
| |
658 | 658 |
| |
659 | 659 |
| |
660 |
| - | |
661 |
| - | |
| 660 | + | |
| 661 | + | |
662 | 662 |
| |
663 | 663 |
| |
664 | 664 |
| |
|
Lines changed: 21 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| 12 | + | |
11 | 13 |
| |
| 14 | + | |
12 | 15 |
| |
13 | 16 |
| |
14 |
| - | |
| 17 | + | |
15 | 18 |
| |
16 | 19 |
| |
17 | 20 |
| |
| 21 | + | |
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
| |
| |||
25 | 29 |
| |
26 | 30 |
| |
27 | 31 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 32 | + | |
| 33 | + | |
31 | 34 |
| |
32 | 35 |
| |
33 | 36 |
| |
| |||
114 | 117 |
| |
115 | 118 |
| |
116 | 119 |
| |
117 |
| - | |
118 |
| - | |
| 120 | + | |
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
| |||
152 | 154 |
| |
153 | 155 |
| |
154 | 156 |
| |
| 157 | + | |
| 158 | + | |
| 159 | + | |
155 | 160 |
| |
156 | 161 |
| |
157 | 162 |
| |
| |||
196 | 201 |
| |
197 | 202 |
| |
198 | 203 |
| |
| 204 | + | |
| 205 | + | |
199 | 206 |
| |
200 | 207 |
| |
201 | 208 |
| |
| |||
213 | 220 |
| |
214 | 221 |
| |
215 | 222 |
| |
216 |
| - | |
| 223 | + | |
| 224 | + | |
217 | 225 |
| |
218 | 226 |
| |
219 | 227 |
| |
| |||
281 | 289 |
| |
282 | 290 |
| |
283 | 291 |
| |
| 292 | + | |
284 | 293 |
| |
285 | 294 |
| |
286 | 295 |
| |
287 | 296 |
| |
288 | 297 |
| |
289 | 298 |
| |
290 |
| - | |
| 299 | + | |
291 | 300 |
| |
292 |
| - | |
| 301 | + | |
293 | 302 |
| |
294 | 303 |
| |
295 | 304 |
| |
| |||
304 | 313 |
| |
305 | 314 |
| |
306 | 315 |
| |
307 |
| - | |
| 316 | + | |
308 | 317 |
|
0 commit comments
Comments
(0)