utf7 0.2.0 copy "utf7: ^0.2.0" to clipboard
utf7: ^0.2.0 copied to clipboard

outdated

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
40
pub points
17%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on utf7