Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.3
-
Fix Version/s: 6.2
-
Component/s: Core/Parsing, Viewer RI
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
The community member has had trouble encoding 4-byte character codes in popup annotations. Further debugging on our end has shown the issue is related to how we are encoding the StringObject when we save the changes to file.
We are currently doing dump of the characters as a literal string. In order to handle a wider range of character codes we will need to encode the text values as hex strings. My initial prototype with popup annotations has shown this approach work as expected with all utf-8 values.
We are currently doing dump of the characters as a literal string. In order to handle a wider range of character codes we will need to encode the text values as hex strings. My initial prototype with popup annotations has shown this approach work as expected with all utf-8 values.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49693 | Thu Dec 15 09:00:09 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/PInfo.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/acroform/VariableTextFieldDictionary.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/Dictionary.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/Utils.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/AbstractWidgetAnnotation.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/LiteralStringObject.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/HexStringObject.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49690 | Thu Dec 15 08:23:33 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/HexStringObject.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Dictionary.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/AbstractWidgetAnnotation.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/PInfo.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Utils.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/LiteralStringObject.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/VariableTextFieldDictionary.java |