Re: Unicode conversion using tudyHTML
"Fred Bone" <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
On 1 Jan 2007 at 23:11, Lissa Labada said: > Hello, > > Thank you so much for your reply. > > Our application does not use a file as input. Rather, users typically > copy/cut from, say, Word document, then paste onto the HTML control of our > application. The application then calls tidyHTML to tidy up the content. > > The copied texts typically contain Unicode characters, thus when tidyHTML > is called, the characters are converted to question mark of other > characters, but we want to retain the original charcters. > > What is the best way to handle this? If the text is in Unicode, Tidy can handle it. Use the -utf16 option.