forked from Deuxfleurs/bottin
Correct the function GenerateName
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.Correct_Test_GenerateName
parent
9a8c19ec0f
commit
a53641e773
Loading…
Reference in New Issue