Commit c91654d
committed
filediff: Replace broken pre-save encoding check (#239)
See c7bbe78 for the removal reasoning.
Here we're just giving the user a somewhat better error message. Ideally
we'd replicate the previous offer of "hey why don't you save as UTF-8
instead?", but the save lifecycle makes this difficult here. If this was
an often-hit check then we'd do it, but... this code hasn't worked in
over three years and people have only ever complained about bugs in the
encoding check, not the save-as-UTF-8 bit.1 parent 9eba8e2 commit c91654d
1 file changed
Lines changed: 12 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1581 | 1581 | | |
1582 | 1582 | | |
1583 | 1583 | | |
1584 | | - | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | 1584 | | |
1617 | 1585 | | |
1618 | 1586 | | |
| |||
1640 | 1608 | | |
1641 | 1609 | | |
1642 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
1643 | 1622 | | |
1644 | 1623 | | |
1645 | | - | |
1646 | | - | |
| 1624 | + | |
1647 | 1625 | | |
1648 | 1626 | | |
1649 | 1627 | | |
| |||
0 commit comments