You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2019/05/17 09:57:50 UTC

[Bug 63447] New: PropertiesChunk.writeProperties: do not write ASCII_STRING properties as UNICODE_STRING

https://bz.apache.org/bugzilla/show_bug.cgi?id=63447

            Bug ID: 63447
           Summary: PropertiesChunk.writeProperties: do not write
                    ASCII_STRING properties as UNICODE_STRING
           Product: POI
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSMF
          Assignee: dev@poi.apache.org
          Reporter: dominik.hoelzl@fabasoft.com
  Target Milestone: ---

PropertiesChunk.writeProperties: ASCII_STRING properties must be written as
ASCII_STRING properties but not UNICODE_STRING as written raw value
(PropertyValue.getRawValue) is formatted as ASCII_STRING.

Without this fix writing a MSG with ASCII strings causes the strings to be
written with UNICODE type information but ASCII string content which causes the
ASCII strings interpreted as UNICODE when re-opened.

See

https://github.com/apache/poi/pull/146

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 63447] PropertiesChunk.writeProperties: do not write ASCII_STRING properties as UNICODE_STRING

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63447

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Change looks ok to me - but it would be good if someone who knows more about
the old H**F formats could also review this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org