220 10540 <CAFk2RUb8CrW1NbLJLcfSvZX4XvuPoqTP9XwVDeC43-2YCQ5yrg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Unicode support in the Standard Library
Date: Thu, 8 May 2014 18:13:30 +0300
Lines: 18
Approved: news@gmane.org
Message-ID: <CAFk2RUb8CrW1NbLJLcfSvZX4XvuPoqTP9XwVDeC43-2YCQ5yrg@mail.gmail.com>
References: <4ef82544-cd98-4488-8230-88ddaea78562@isocpp.org>
	<CAGNvRgA4keukGYJG_Z0OAiHeBnKa55K5X=4EYdtvHxq6tT4G4w@mail.gmail.com>
	<002D029C-6783-4A62-8CC4-B32B7BE8B23D@gmail.com>
	<CAGNvRgB5xSjojj2cZjBaaG=hTcBuRrXJR39xDv0QG1HuQLJ_gQ@mail.gmail.com>
	<01f2cc36-e743-4782-891e-c074dc072c7f@isocpp.org>
	<CAGNvRgBQeFOzzqgbWGMDrVEgmeHPPsG8FF0Q_M=ZyH52DbwsqA@mail.gmail.com>
	<1d79df40-3313-4241-a9b8-d9364d68d327@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1399562019 863 80.91.229.3 (8 May 2014 15:13:39 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 8 May 2014 15:13:39 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBGV6V2NQKGQERNO5SRI@isocpp.org Thu May 08 17:13:32 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBGV6V2NQKGQERNO5SRI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qg0-f72.google.com ([209.85.192.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBGV6V2NQKGQERNO5SRI@isocpp.org>)
	id 1WiQ0q-0004KW-B7
	for gclcip-std-proposals@m.gmane.org; Thu, 08 May 2014 17:13:32 +0200
Original-Received: by mail-qg0-f72.google.com with SMTP id q108sf5394715qgd.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 08 May 2014 08:13:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=a4RC2RyQD5xgRpfQSWUu8CavapPDOV1jjZmTaGSRmUo=;
        b=MZkKe06LKHBuClM7ezq5b6qmfuoPYEdic7AvkGYa7cPxNcLwMJUJO/YiaGDlLagWxE
         l1M5SZuSDTUE3gTIQlVaKd64joZHy3FT3NQzba/uBVaACUtW5gUspZJOy+1DPeBZqnKT
         +0Zkj0NqEVHqkjQcwZanuSYbqO3utgbLf7GOddEc4BHE4F2KJQ+MtwBsRt17Eclv1b+o
         F9cClxe0jWDAOSq/4CyHtEOxZEeV1134luhGvCDGsJ7hfcmHY6OQ3efQqN4zN/Ag3kqi
         IExbBleR7qxTSCiHrjRoPBvKcvezoMtoULTtdp1FIxCGmK32shyh+lxoD5TNsLrL7RIw
         3Ilg==
X-Gm-Message-State: ALoCoQljViuUHbN+ZD5MTgjf5/TWTBWJ3LBMiymGgHPs4NUkpyWESPw+egjf85Hn1CvlnyKfLfA+
X-Received: by 10.58.142.135 with SMTP id rw7mr1932229veb.14.1399562011472;
        Thu, 08 May 2014 08:13:31 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.42.20 with SMTP id b20ls3909287qga.5.gmail; Thu, 08 May
 2014 08:13:30 -0700 (PDT)
X-Received: by 10.229.220.197 with SMTP id hz5mr5848479qcb.9.1399562010669;
        Thu, 08 May 2014 08:13:30 -0700 (PDT)
Original-Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [2607:f8b0:400d:c01::236])
        by mx.google.com with ESMTPS id m9si633242qge.71.2014.05.08.08.13.30
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 08 May 2014 08:13:30 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::236 as permitted sender) client-ip=2607:f8b0:400d:c01::236;
Original-Received: by mail-qc0-f182.google.com with SMTP id e16so3048349qcx.13
        for <std-proposals@isocpp.org>; Thu, 08 May 2014 08:13:30 -0700 (PDT)
X-Received: by 10.140.80.40 with SMTP id b37mr5517967qgd.98.1399562010518;
 Thu, 08 May 2014 08:13:30 -0700 (PDT)
Original-Received: by 10.224.181.5 with HTTP; Thu, 8 May 2014 08:13:30 -0700 (PDT)
In-Reply-To: <1d79df40-3313-4241-a9b8-d9364d68d327@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::236 as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:10540
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10540>

On 8 May 2014 18:06, Guy Davidson <guy@hatcat.com> wrote:
> The fundamental problem here is that the basic_string class currently only
> accommodates fixed width encoding.  UTF-8 and UTF-16 are variable width
> encodings (UTF-32 is also fixed width).  std::u16string is only fit for


basic_string accommodates variable width encodings fine. What it doesn't provide
is access to the actual characters rather than raw bytes, and adding access to
to characters should not require changing basic_string, or char_traits.

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
