Convert fullwidth to halfwidth

You can use the string.Normalize() method:

string userInput = "Stackoverflow";
string result = userInput.Normalize(NormalizationForm.FormKC);
//result = "Stackoverflow"

See example on DotNetFiddle.

More information on the Normalization Forms can be found on unicode.org.

Leave a Comment