Correct the function GenerateName #6

Merged
lx merged 1 commits from Correct_Test_GenerateName into main 2021-07-29 08:02:29 +00:00

1 Commits

Author SHA1 Message Date
MrArmonius a53641e773 Correct the function GenerateName
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
The problem was the encode in `name += string(alphabet[])`
It takes only 1 byte but the characters like 'è','@' are encoding
on several bytes (1 to 4 bytes).
The better solution was to create a slice of string, like this
we don't have problem about take only one byte instead of 2,3 or 4
bytes.
2021-07-26 15:36:45 +02:00