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 2015/08/16 17:03:00 UTC
[Bug 58247] New: UTF-16 characters in .xlsx file can't write
properly
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Bug ID: 58247
Summary: UTF-16 characters in .xlsx file can't write properly
Product: POI
Version: 3.10-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: dev@poi.apache.org
Reporter: sakurotawa@gmail.com
After read .xlsx, UTF-16 characters was still displayed well. But after written
back to disk again, it become "??" at that point before.
Tried to convert .xlsx file to .xls by Excel, opened and saved with HSSF but
UTF-16 characters was still displayed properply. (In this case, I've used
UnicodeString to set UTF-16 characters to cell).
I've checked with 3.12 latest source and same phenomena can be produced. So I
think it only happens in XSSF or SXSSF.
--
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 58247] Some UTF-16 characters are not handled correctly (likely
surrogate pair related)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |59268
Referenced Bugs:
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268
[Bug 59268] Work on providing an updated version of XMLBeans
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |54084
--- Comment #7 from Dominik Stadler <do...@gmx.at> ---
This is likely a similar issue as bug 54084 where we debugged the problem to
some degree and it seems the XMLBeans third pary library is involved here.
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
--- Comment #2 from raveufo <sa...@gmail.com> ---
Created attachment 33002
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33002&action=edit
Sample input
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
--- Comment #3 from raveufo <sa...@gmail.com> ---
Created attachment 33003
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33003&action=edit
Sample output
--
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 58247] Some UTF-16 characters are not handled correctly (likely
surrogate pair related)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Bug 58247 depends on bug 54084, which changed state.
Bug 54084 Summary: Some Unicode chars(e.g chinese chars) are not written corectly in xlsx file.
https://bz.apache.org/bugzilla/show_bug.cgi?id=54084
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
--- Comment #6 from raveufo <sa...@gmail.com> ---
(In reply to Dominik Stadler from comment #1)
> Please provide some more details so other people can reproduce the problem,
> i.e. please attache sample files and a self-sufficient piece of code that
> reproduces the problem, ideally as a unit-test so we can add it to the
> test-suite for poi.
I've attached sample input, sample output and the source code I used to
reproduce this problem.
If I convert the sample input above to .xls file and read/write with HSSF,
characters in output file will be the same with input file
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
--- Comment #4 from raveufo <sa...@gmail.com> ---
Created attachment 33004
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33004&action=edit
Reproduce source code
--
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 58247] Some UTF-16 characters are not handled correctly (likely
surrogate pair related)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Bug 58247 depends on bug 59268, which changed state.
Bug 59268 Summary: Work on providing an updated version of XMLBeans
https://bz.apache.org/bugzilla/show_bug.cgi?id=59268
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
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 58247] Some UTF-16 characters are not handled correctly (likely
surrogate pair related)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|UTF-16 characters in .xlsx |Some UTF-16 characters are
|file can't write properly |not handled correctly
| |(likely surrogate pair
| |related)
--
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 58247] Some UTF-16 characters are not handled correctly (likely
surrogate pair related)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #8 from Dominik Stadler <do...@gmx.at> ---
As far as I see this will be fixed only by an updated XMLBeans, the related
discussion for this is at bug 59268.
*** This bug has been marked as a duplicate of bug 59268 ***
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
Status|NEW |NEEDINFO
Version|3.10-FINAL |3.12-FINAL
--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Please provide some more details so other people can reproduce the problem,
i.e. please attache sample files and a self-sufficient piece of code that
reproduces the problem, ideally as a unit-test so we can add it to the
test-suite for poi.
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
--- Comment #5 from raveufo <sa...@gmail.com> ---
(In reply to Dominik Stadler from comment #1)
> Please provide some more details so other people can reproduce the problem,
> i.e. please attache sample files and a self-sufficient piece of code that
> reproduces the problem, ideally as a unit-test so we can add it to the
> test-suite for poi.
I've attached sample input, sample output and the source code I used to
reproduce this problem.
If I convert the sample input above to .xls file and read/write with HSSF,
characters in output file will be the same with input file
--
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 58247] UTF-16 characters in .xlsx file can't write properly
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58247
raveufo <sa...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
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