mdelapenya / lpn

Go CLI to facilitate the execution of Liferay Portal's nightly builds and released Docker images
Other
20 stars 3 forks source link

Use utf8.RuneCountInString instead of len for strings #66

Closed mdelapenya closed 5 years ago

mdelapenya commented 5 years ago

It's safer and it counts non-english characters

len(string) counts the number of bytes

mdelapenya commented 5 years ago

Merged, thanks!

image