diff options
author | Christoph Krybus <ckrybus@googlemail.com> | 2021-11-13 04:51:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 22:51:58 -0500 |
commit | ade85ee91fee849f4b036ed8e42e31b978144522 (patch) | |
tree | ccbdc131b5d1c4e4217e5737c32cec270f514653 /lib/std | |
parent | 0a1049881eaa08cb7d10194d9b446d8a9ca52122 (diff) | |
download | Nim-ade85ee91fee849f4b036ed8e42e31b978144522.tar.gz |
Fix punycode.decode function (#19136)
* Refactor: rename proc to func * Fix punycode.decode function This function could only properly decode punycodes containing a single encoded unicode character. As soon as there was more than one punycode character group to decode it produced invalid output - the number of characters was correct, but their position was not. * Update tpunycode.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions