A library for Dart developers.

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


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.


Replace chinese character directly without third party API 直接 中文繁簡替換, 無需第三方API