Topic: Regarding URI (N3947) and utf-8


Author: Peter Atashian <retep998@gmail.com>
Date: Sat, 1 Mar 2014 19:27:34 -0800 (PST)
Raw View
------=_Part_46_8584520.1393730854013
Content-Type: text/plain; charset=UTF-8

URI has a method u8string() which returns a utf-8 encoded string version of
the URI, but there is no corresponding method to create a URI from a utf-8
string.
For comparison filesystem::path has both u8string() and a method u8path()
to create a path from a utf-8 string.

--

---
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/.

------=_Part_46_8584520.1393730854013
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">URI has a method u8string() which returns a utf-8 encoded =
string version of the URI, but there is no corresponding method to create a=
 URI from a utf-8 string.<div>For comparison filesystem::path has both u8st=
ring() and a method u8path() to create a path from a utf-8 string.</div></d=
iv>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_46_8584520.1393730854013--

.


Author: Thiago Macieira <thiago@macieira.org>
Date: Sun, 02 Mar 2014 10:57:42 -0800
Raw View
Em s=E1b 01 mar 2014, =E0s 19:27:34, Peter Atashian escreveu:
> URI has a method u8string() which returns a utf-8 encoded string version =
of
> the URI, but there is no corresponding method to create a URI from a utf-=
8
> string.

All IRIs are already UTF-8 encoded at the source. There's no need to have a=
=20
special method -- all methods take UTF-8 strings.

Even the char16_t and char32_t ones...
--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

--=20

---=20
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 e=
mail 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-proposa=
ls/.

.