BryanWilhite / SonghayCore

core reusable, opinionated concerns for *all* 🧐 of my C# projects
http://songhayblog.azurewebsites.net/
MIT License
1 stars 0 forks source link

`char.GetNumericValue()` is not like `charCodeAt` in JavaScript! #92

Closed BryanWilhite closed 4 years ago

BryanWilhite commented 4 years ago

logic in ToAsciiLettersWithSpacer overloads is incorrect https://github.com/BryanWilhite/SonghayCore/blob/master/SonghayCore/Extensions/StringExtensions.Fluent.cs#L93

https://docs.microsoft.com/en-us/dotnet/api/system.char.getnumericvalue?view=netstandard-2.1

BryanWilhite commented 4 years ago

https://stackoverflow.com/a/7826216/22944

image