Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Feb 20, 2022
1 parent ff2806b commit c91f113
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/charset.dart
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ class Charset {
encoding.encode(char);
} on FormatException catch (_) {
return false;
} on ArgumentError catch (_) {
return false;
}
return true;
}
Expand All @@ -369,6 +371,8 @@ class Charset {
encoding.decode(char);
} on FormatException catch (_) {
return false;
} on ArgumentError catch (_) {
return false;
}
return true;
}
Expand Down

0 comments on commit c91f113

Please sign in to comment.