static List<int> utf8Encode(String value) { try { return utf8.encode(value); } catch (_) { return []; } }