This is useful for avoiding crashing on "cdiff -l" (on Python 3) in https://github.com/myint/cppclean. Also handle unknown encodings gracefully rather than crashing.
|
|
||
|
1 |
|
|
1 |
|
2 |
|
2 |
|
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
|
6 |
|
|
5 |
|
7 |
|
6 |
|
8 |
|
7 |
|
9 |
|
|
|
||
36 |
|
36 |
|
37 |
|
37 |
|
38 |
|
38 |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
39 |
|
45 |
|
40 |
|
46 |
|
41 |
|
47 |
|
|
|
||
248 |
|
254 |
|
249 |
|
255 |
|
250 |
|
256 |
|
251 |
|
|
|
|
257 |
|
|
252 |
|
258 |
|
253 |
|
259 |
|
254 |
|
260 |
|
|
|
||
643 |
|
649 |
|
644 |
|
650 |
|
645 |
|
651 |
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
|
652 |
|
|
649 |
|
653 |
|
650 |
|
654 |
|
|
655 |
|
|
|
656 |
|
|
|
657 |
|
|
|
658 |
|
|
|
659 |
|
|
|
660 |
|
|
|
661 |
|
|
|
662 |
|
|
651 |
|
663 |
|
652 |
|
664 |
|
653 |
|
665 |
|
|
|
||
715 |
|
727 |
|
716 |
|
728 |
|
717 |
|
729 |
|
718 |
|
|
|
|
730 |
|
|
|
731 |
|
|
719 |
|
732 |
|
720 |
|
733 |
|
721 |
|
734 |
|
|
|
||
730 |
|
743 |
|
731 |
|
744 |
|
732 |
|
745 |
|
|
746 |
|
|
|
747 |
|
|
|
748 |
|
|
733 |
|
749 |
|
734 |
|
|
|
|
750 |
|
|
735 |
|
751 |
|
736 |
|
752 |
|
737 |
|
753 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
||
77 |
|
77 |
|
78 |
|
78 |
|
79 |
|
79 |
|
80 |
|
|
|
|
80 |
|
|
81 |
|
81 |
|
82 |
|
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
83 |
|
87 |
|
84 |
|
88 |
|
85 |
|
89 |
|