Issues while connecting to RTC from lotus notes!!
Hello Guys,
But its not able to parse the below string with special characters
Can someone please help me to get rid off this problem ?
|
One answer
Hi,
I believe your problem might stem from the ampersand & and brackets (), as they are special characters in an URI and need to be escaped. You already do this with the spaces in the project area name by replacing them with "%20". Thankfully, Java has an easy solution for you, so you do not have to do all the encoding yourself. You could try the following: String projectAreaName = "ABC & Systems Management, Level 2 & Support (eXYZ)"; java.net.URI uri= java.net.URI.create(URLEncoder.encode(projectAreaName , "utf-8" )); Hope that helps! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.