- BASE 代表 可以簡單透過 javascript split 進行字串分割
- UNICODE 代表需要透過支援 Unicode 進行字串分割(例如 uni-string )
- SAFE 代表於 簡轉繁 時,盡量不去取代已經存在於繁體中的字(至於繁轉簡則... 沒必要)
可透過以下代碼取得相同資料
import { table_tw2cn, table_cn2tw } from 'cjk-conv/lib/zh/convert';
import { tableCn2TwDebug, tableTw2CnDebug } from 'cjk-conv/lib/zh/convert/min';
- JSON: table_tw2cn.json
- BASE: base.from / base.to
- UNICODE: unicode.from / unicode.to
- SAFE: safe.from / safe.to
- JSON: table_cn2tw.json
- BASE: base.from / base.to
- UNICODE: unicode.from / unicode.to
- SAFE: safe.from / safe.to