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
Comments: Nothing like that was touched but pick up v0.74.0 and see if it helps. If not then attach a project that reproduces it.
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
Comments: Nothing like that was touched but pick up v0.74.0 and see if it helps. If not then attach a project that reproduces it.