zh_char_converter 0.1.1 copy "zh_char_converter: ^0.1.1" to clipboard
zh_char_converter: ^0.1.1 copied to clipboard

outdated

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

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:zhCharDict/zhCharDict.dart';

main() {
   // function 1:  String zhCN(String input)  繁體輸出
   String cn = zhCN('两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.');
   print('zh_CN: $cn');
   
   // function 2:  String zhTW(String input)  简体输出 
   String tw = zhTW('两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.');
   print('zh_TW: $tw');  
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
0
pub points
9%
popularity

Publisher

unverified uploader

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

Homepage

License

unknown (LICENSE)

More

Packages that depend on zh_char_converter