Firstly, I'm fully aware of questions/answers such as Which special Characters are not Allowed in SharePoint 2013 Files\Folders.
When I programmatically (via C#, SP client) create a new document library with parentheses in its name (
, )
or a dash -
, these characters simply get removed from the new URL. Right after I create the document library, I try to populate it with some data. However, it throws an error saying that no such document library exists, because I'm trying to access it via its old name (i.e. with parentheses and dashes).
To me, it appears that this removal happens automatically without any warning. So far I have discovered these 3 characters, but perhaps there are more.
Is there a list of characters that get removed automatically without causing an error from the document libraries' URL names?
Example: New Folder - Copy (10)
becomes New Folder Copy 10
Thanks