Apple programs this into swift for which characters are allowed in the password field for a URL. Not entirely sure if this helps for the smbfs mount but it’s what I would use to have swift encode my password if I were passing it as you do in the command. 

- https://developer.apple.com/documentation/foundation/nscharacterset/1417313-urlpasswordallowed