I am using Eclipse Integrated in Lotus Notes IDE.
I am unable to retrieve exact chineese characters for the Document or attachment name of Embedded Object.i.e., Document.getItemValueString();
or EmbeddedObject.getName()
instead of chineese characters i am seeing ???.
Please find below code snippet for more information.And let me know is there is away retrieve exact chineese/Russian/Korean/arbic from the document or from attachment name i.e, from EmbeddedObject.getName also please confirm whether the above mentioned issue(representing chineese/Russian/Korean/arbic from the document or from attachment name i.e, from EmbeddedObject.getName
) is actually supported by Lotus Notes 8.5.
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
Database db = agentContext.getCurrentDatabase();
Document doc = db.getProfileDocument("TestForm", null);
String str =doc.getItemValueString("filename");
System.out.println("Doc name sys"+str);
PrintStream ps = new PrintStream(System.out, true, "UTF-8");
ps.println("Doc name"+str);
output is
Doc name sys????
Doc nameä½ å¥½ä½ å¥½
What is the solution?