参考LZW算法压缩字符串数据 function LZW_compress(text){ const dict = { 0: '零', 1: '一', 2: '二' }, result = [] let temp = "", UTFCode = 25165 // 汉字笔画较少的区间开始 text.split("").reduce((prev, cur)=>{ const string = prev + cur if(dict[string]) temp = string;...