- Notifications
You must be signed in to change notification settings - Fork5
Commit2d8314b
committed
Rename utf2ucs() to utf8_to_unicode(), and export it so it can be used
elsewhere.Similarly rename the version in mbprint.c, not because this affects anythingbut just to keep the two copies in exact sync. There was some discussion ofhaving only one copy in src/port/ instead, but this function is so smalland unlikely to change that that seems like overkill.Slightly editorialized version of a patch by Joseph Adams. (The bug-fixaspect of his patch was applied separately, and back-patched.)1 parentb5565bc commit2d8314b
File tree
3 files changed
+22
-17
lines changed- src
- backend/utils/mb
- bin/psql
- include/mb
3 files changed
+22
-17
lines changedLines changed: 11 additions & 9 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 |
| |
| |||
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
465 |
| - | |
| 465 | + | |
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
| |||
632 | 632 |
| |
633 | 633 |
| |
634 | 634 |
| |
635 |
| - | |
636 |
| - | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
637 | 643 |
| |
638 |
| - | |
639 |
| - | |
640 |
| - | |
641 |
| - | |
642 | 644 |
| |
643 | 645 |
| |
644 | 646 |
| |
| |||
661 | 663 |
| |
662 | 664 |
| |
663 | 665 |
| |
664 |
| - | |
| 666 | + | |
665 | 667 |
| |
666 | 668 |
| |
667 | 669 |
| |
|
Lines changed: 9 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 |
| |
47 |
| - | |
| 53 | + | |
48 | 54 |
| |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 55 |
| |
54 | 56 |
| |
55 | 57 |
| |
| |||
346 | 348 |
| |
347 | 349 |
| |
348 | 350 |
| |
349 |
| - | |
| 351 | + | |
350 | 352 |
| |
351 | 353 |
| |
352 | 354 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
412 | 412 |
| |
413 | 413 |
| |
414 | 414 |
| |
| 415 | + | |
415 | 416 |
| |
416 | 417 |
| |
417 | 418 |
| |
|
0 commit comments
Comments
(0)