Boost logo

Boost :

Subject: Re: [boost] [nowide] Request for interest (nowide unicode support for windows)
From: Lars Viklund (zao_at_[hidden])
Date: 2010-06-17 02:21:01


On Wed, Jun 16, 2010 at 05:23:19PM -0400, Beman Dawes wrote:
> On Tue, Jun 15, 2010 at 2:36 PM, Artyom <artyomtnk_at_[hidden]> wrote:
> > - Standard library does not accept "wchar_t const *" as parameter to
> >  open (with exception of MSVC specific extension)
> > - Windows API does not support UTF-8 codepage.
> >
> > So how do you deal with it?
>
> Use the Microsoft UTF-codepage, 65001

Judging by assorted postings by Michael Kaplan (Unicode Grandmaster at
Microsoft), there seems to be much fun to be derived from trying to use
the UTF-8 codepage with narrow APIs.

[1] http://blogs.msdn.com/b/michkap/archive/2006/07/14/665714.aspx
[2] http://blogs.msdn.com/b/michkap/archive/2006/10/11/816996.aspx
[3] http://blogs.msdn.com/b/michkap/archive/2006/03/13/550191.aspx
[4] http://blogs.msdn.com/b/michkap/archive/2007/05/11/2547703.aspx

-- 
Lars Viklund | zao_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk