From: Peter Krefting Date: Wed, 04 Mar 2009 10:53:14 GMT Subject: Re: [RFC PATCH] Windows: Assume all file names to be UTF-8 encoded. Message-ID: In-Reply-To: <450196A1AAAE4B42A00A8B27A59278E709F076D2@EXCHANGE.trad.tradestation.com> John Dlugosz: > Actually, UTF-8 is a valid code page on Windows. Yes, but I am unsure whether it can be set as a thread locale for the sake of file APIs. > Also, there is a national code page that =will= represent all file names > on the systems and is supported: That is the Chinese GB18030, code page > 54936. Yeah, but unfortunately it is explicitly documented that it is only supported in MultiByteToWideChar, WideCharToMultiByte and some text painting APIs in Windows, i.e the stdio functions and others may break horribly. -- \\// Peter - http://www.softwolves.pp.se/