aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2011-08-05 17:27:08 +0000
committerYegor Kozlov <yegor@apache.org>2011-08-05 17:27:08 +0000
commit2d5db78a3b9dddf45a377f11b81536302eec47ef (patch)
treea274f3a2a8f93346b77cef0edf240fe921f7278d /src/ooxml/java
parent1b4718befdd1edc18e88b1fbbfb9dc559bf83547 (diff)
downloadpoi-2d5db78a3b9dddf45a377f11b81536302eec47ef.tar.gz
poi-2d5db78a3b9dddf45a377f11b81536302eec47ef.zip
Fixed incorrect encoding of non-breaking space (0xA0) in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1154323 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java')
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
index 05dc3ec12e..d3b62a5b65 100644
--- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
+++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
@@ -1502,7 +1502,7 @@ public class SXSSFSheet implements Sheet, Cloneable
{
_out.write(chars,last,counter-last);
}
- _out.write("&nbsp;");
+ _out.write("&#xa0;");
last=counter+1;
break;
default: