A.J. Venter wrote:
One problem, however, is what to do on Windows 9x and on Gtk 1. We
would need to convert utf-8 to iso. But to which iso? A easy solution
is to just convert to western european iso.
Actually there must be ways of getting the current running environment's preferred character set. Under Linux you could use the LANG environment variable to determine what language the desktop is in, and call the best character set for that, surely the windows API must provide something similar ?

GetACP. WideCharToMultiByte also has a 'to ANSI' flag.

Micha

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to