On 12/03/2008, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Solution in fpGUI and MSEgui. Create your own RTL functions dependent > per platform. > eg: > fpgSetCurrentDirectory() > Under Linux it uses UTF-8 so is a wrapper for RTL SetCurrentDirectory. > Under Windows we have to convert UTF-8 to ANSI or WideString and > call the appropriate Windows.SetCurrentDirectory[A,W] functions.
It was just pointed out to me that not all Linux installations are UTF-8 either (some older systems etc). So more black magic has to happen for Linux's RTL wrapper functions as well. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
