Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Created Issue: Excel found unreadable content in filename.xls [12686]

$
0
0
Yes, thekg, there is a workaround.

The worksheet XML that is being written has the wrong decimal separator ("," instead of "."). (Unzip the xlsx and find the xl\worksheets\worksheet1.xml file, find the pagemargin info)

Seems like your Windows on a locale other than EN. As is mentioned in the post [here](https://npoi.codeplex.com/discussions/434134), setting your culture info to EN... before writing the xml streams will make sure that all decimal numbers are being written in the correct format, i.e. with a "." as a decimal separator.

@tonyqus:
Is there another way to make sure the XML is being written correctly on any international system? Not many countries use "." as a decimal separator.

Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>