Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Created Unassigned: Problem with Symbols in Text Cells [9359]

$
0
0
I'm experiencing a problem when I assign a text value that contains a symbol in it to a cell.

For example: Cell(1,1).Value = "¡Oy Vey!";

The resulting cell in the worksheet displays a black diamond with a question mark in it where the extended character symbols should be.

When I look at a hex dump of the raw sharedStrings.xml file generated by ClosedXML, I cannot find the "¡" character or 0xA1 in hex in the file. Other extended characters do not work either.

I tried both Cell.Value and SetValue and with and without assigning the DataType to Text. All things I try have the same result.

I am new to ClosedXML, so perhaps there is a setting to enable it to not translate extended characters in text strings assigned to Cell values. I did not find anything related to this in the documentation.

//AJ

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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