Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 507 Bytes

File metadata and controls

17 lines (13 loc) · 507 Bytes

Unicode normalization in Visual Basic .NET

Unicode normalization is available in the core language via the Normalize method on strings (String objects).

nfd  = str.Normalize(NormalizationForm.FormD)
nfc  = str.Normalize(NormalizationForm.FormC)
nfkd = str.Normalize(NormalizationForm.FormKD)
nfkc = str.Normalize(NormalizationForm.FormKC)

' defaults to NFC
nfc = str.Normalize()