On Thu, 24 Jun 2004, Shawn Walker wrote:
The program isn't running on unix. It's running on Windows with Outlook (I know, bear with me. ;)

If it's running on Windows, then convert everything to Unicode. Unicode is what Windows uses internally. Windows may require UTF-16 encoding instead of UTF-8 for display, but that's a simple transformation. Since c-client's character set routines only generate BMP characters, UTF-16 and UCS-2 are the same.


When you say that you "have a string that" you "need to encode before putting it in the body contents of BODY", it sounds to me that you're trying to build a message for sending via SMTP, as opposed to viewing it on the screen. Otherwise, you shouldn't be putting anything into body contents. What, exactly, are you trying to do (at a high level)?

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to