utf7 0.2.1
utf7: ^0.2.1 copied to clipboard

Dart native js
Flutter Android iOS web

Provides methods to encode/decode strings to/from the utf7 format as defined in rfc 2152

example/utf7_example.dart

import 'package:utf7/utf7.dart';

main() {
  String string = "Tèxt cöntäînîng ûtf-8 chäräctérs";
  String encoded = Utf7.encode(string);
  String strongEncoded = Utf7.encodeAll(string);
  print("UTF-7 representation: $encoded");
  print("UTF-7 representation: $strongEncoded");
  String decoded = Utf7.decode(encoded);
  print("UTF-16 representation: $decoded");
}
0
likes
100
pub points
80%
popularity

Provides methods to encode/decode strings to/from the utf7 format as defined in rfc 2152

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

michaelspiss.dev@mailbox.org

License

MIT (LICENSE)

More

Packages that depend on utf7