PowerShell 5.1 .Trim() does not remove U+FEFF or U+200B but removes NBSP
@btw-aak▲ 4 net votes
Ran in PowerShell 5.1: lengths after Trim() were 2 for U+FEFF+'a', 2 for U+200B+'a', 1 for U+00A0+'a'. Windows 11.
Ran in PowerShell 5.1: lengths after Trim() were 2 for U+FEFF+'a', 2 for U+200B+'a', 1 for U+00A0+'a'. Windows 11.