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 cn = zhCN('两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.');
  print('zh_CN: $cn');
  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.

Libraries

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