Hi,

Harold L Hunt II <[EMAIL PROTECTED]> writes:
> Is there anyway that you can figure out the -winencoding parameter
> from Windows?

  char label[20];
  sprintf( label, "CP%d", (int) GetACP() );

Or something similar, you get the idea.  E.g. for SHIFT_JIS you should
get CP932, which is in the iconv list of supported encodings here.

On NT/W2K/XP, you may also want to translate to Unicode and set the
clipboard with that, too.


benny

Reply via email to