What is the problem?
Some characters written in unicode format do not get transformed to their appropriate font-character.
Example
Numerical version: ≥ is printed as ≥
String version: ≥ is printed correctly
Both have the same unicode, yet LiveCycle DS will only convert the "string"-version and not the numerical version.
Question
Is there a way to make LiveCycle convert the numerical unicode representation of special characters aswell? If so how do I do this using LiveCycle Designer. I am working with textFields
Workaround
I have written the following workaround in my java project, obviously I'd appreciate it if I LC did this work for me as I'm not willing to implement a full-scale unicode table while LC has it by itself already (≥ works ...):
private String getNodeText(NodeList nl)
{
if (nl == null){
return null;
}
if (nl.getLength() == 0){
return null;
}
String unescapedString = StringEscapeUtils.unescapeXml(nl.item(0).getTextContent());
return (unescapedString.equals("null") ? null : replaceUnicodeNumbers(unescapedString));
}
private String replaceUnicodeNumbers(String unescapedString) {
return unescapedString.replace("≥", "≥"); // I changed this code to something more usable
}