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

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
23%
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