### What problem does this PR solve? #5704 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.17.1
| raise TypeError("txt type should be str!") | raise TypeError("txt type should be str!") | ||||
| cks = [""] | cks = [""] | ||||
| tk_nums = [0] | tk_nums = [0] | ||||
| delimiter = delimiter.encode('utf-8').decode('unicode_escape').encode('latin1').decode('utf-8') | |||||
| def add_chunk(t): | def add_chunk(t): | ||||
| nonlocal cks, tk_nums, delimiter | nonlocal cks, tk_nums, delimiter |