You indicate that the data you are reading from Word is ISO-8859-6 but it may be UTF-16LE, which most Windows applications use internally.
Either way you should try to convert it to UTF-8 instead of UTF-16 if you are using write().
You can also write UTF-16BE and UTF-16LE data using the (poorly named) write_unicode() and write_unicode_le() methods.
--
John.
In reply to Re: writing Arabic text in Excel
by jmcnamara
in thread writing Arabic text in Excel
by pg09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |