zh_char_converter 0.1.2
zh_char_converter: ^0.1.2

Dart native js
Flutter Android iOS web

Replace charters in a string, between zh-cn and zh-tw. (中文 简体 - 繁體 互換)

A library use for:

Replace all zh_TW character to zh_CN character

Replace all zh_CN character to zh_TW character

(简体/繁體 字符互換)

Usage #

A simple usage example:

import 'package:zh_char_converter/zh_char_converter.dart';

main() {
  String testString = '两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.';
  String cn = zhCN(testString);
  print('zh_CN: $cn');
  String tw = zhTW(testString);
  print('zh_TW: $tw');
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
85
pub points
29%
popularity

Replace charters in a string, between zh-cn and zh-tw. (中文 简体 - 繁體 互換)

Homepage

Documentation

API reference

Uploader

0@coodtec.com

License

MIT (LICENSE)

More

Packages that depend on zh_char_converter