On Sunday, 25 November 2012 at 22:09:53 UTC, Manu wrote:
On 25 November 2012 14:30, Jonathan M Davis <jmdavisp...@gmx.com> wrote:


I'd actually be halfway tempted to explicitly omit the A versions simply because you basically should _never_ use them unless you're supporting
Win9x,
which we're not.


Except that they're the default, basically all tutorial code and much existing code is written to use 8-bit strings. It's really lame there is no
utf-8 api.

I agree with Jonathan. The Ansi is not quite the default anymore, maybe for some old documentation or old code. Unicode is the default encoding when you create a new project in Visual Studio, in samples they use a lot the TCHAR/LPTSTR-Macros (sometimes the wstring). And is clear that you _should_ use the W APIs (directly or through UNICODE define) or you are later in trouble.


Reply via email to