On Sonntag, 1. April 2007, Tonal wrote: > Detlev Offenbach wrote: > >> eric4_3.diff - for correct open eric4 if os PATH variable contains dir > >> names in OEM codepage. > > > > Can you please explain, what the problem is. What happens with the code > > as distributed? > > Win32 Rus contains 2 Russian codepage: ANSI - cp1251 and OEM - cp866. > GUI applications input/output in ANSI codepage, but console applications > input/output in OEM. > All command prompt utility and OS environment variable has OEM codepage. > > My source code and my GUI programs have ANSI codepage. But os.environ > dictionary may contain string in OEM codapage. > In this case isinpath() may crash in process of converting such string > to Unicode. > I do not understand how can I learn OEM codepage in all other locales. > QProcess.systemEnvironment resolve this problem.
What did you set on the Qt config page as default encoding? Have you tried cp866? Detlev -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
