变量名 | 类 型 | 静态 | 数组 | 备 注 | 匿名局部变量_1 | 字节集 | | | 匿名局部变量_2 | 逻辑型 | | | 匿名局部变量_3 | 整数型 | | | 匿名局部变量_4 | 字节集 | | | 匿名局部变量_5 | 字节集 | | | 匿名局部变量_6 | 文本型 | | |
匿名局部变量_1 = 编码转换 (待转换文本, #编码_UTF_8, #编码_UCS_4, 匿名局部变量_2 ) 如果真 (匿名局部变量_2 = 假) 返回 (“”) 计次循环首 (取字节集长度 (匿名局部变量_1 ) ÷ 4, 匿名局部变量_3 ) 匿名局部变量_4 = 取字节集中间 (匿名局部变量_1, (匿名局部变量_3 - 1 ) × 4 + 1, 4 ) 匿名局部变量_5 = 编码转换 (匿名局部变量_4, #编码_UCS_4, #编码_GBK, 匿名局部变量_2 ) 判断 (匿名局部变量_2 )  匿名局部变量_6 = 匿名局部变量_6 + 到文本 (匿名局部变量_5 )  匿名局部变量_6 = 匿名局部变量_6 + “&#” + 到文本 (匿名局部变量_4 [1 ] × 16777216 + 匿名局部变量_4 [2 ] × 65536 + 匿名局部变量_4 [3 ] × 256 + 匿名局部变量_4 [4 ]) + “;”  计次循环尾 ()返回 (匿名局部变量_6 ) |