Attached is a simple test file that takes a 1 row 1 col HTML table containing Arabic text, converting it into a byte, then MemoryStream and finally inserting the stream into a workbook. I then save the workbook as an xlsx file and view it.
If you take a look at the output xlsx file, you will see that the Arabic text now looks like the following
Ø§Ø³ØªÙ‡Ø¯Ø§Ù Ù…Ø³ØªØ®Ø¯Ù…ÙŠÙ† Ù…ØØ¯Ø¯ÙŠÙ† Ø²Ø§Ø±ÙˆØ§ Ù…ÙˆÙ‚Ø¹Ù‡Ù… Ù…Ù† Ù‚Ø¨Ù„
Can you please take a look at my code and tell me what I’m doing wrong?