You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/04/07 18:39:41 UTC

[jira] [Assigned] (MESOS-7335) Blocked: Replace `wstring` with `u16string`

     [ https://issues.apache.org/jira/browse/MESOS-7335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Schwartzmeyer reassigned MESOS-7335:
-------------------------------------------

    Assignee: Andrew Schwartzmeyer

> Blocked: Replace `wstring` with `u16string`
> -------------------------------------------
>
>                 Key: MESOS-7335
>                 URL: https://issues.apache.org/jira/browse/MESOS-7335
>             Project: Mesos
>          Issue Type: Bug
>          Components: c++ api
>         Environment: Windows 10
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Andrew Schwartzmeyer
>            Priority: Minor
>              Labels: microsoft, unicode, windows
>
> The most correct C++ type for UTF-16 data is {{std::u16string}}, but due to a known bug in [MSVC|https://connect.microsoft.com/VisualStudio/Feedback/Details/1403302], the {{std::codecvt_utf8_utf16}} converter cannot be used with {{char16_t / u16string}} types, so we must use {{wchar_t / wstring}} types for now.
> {quote}
> I am deeply sorry for the statement I made about the availability of this fix. This is not fixed in Visual Studio 2017.
> This issue requires a binary breaking change to the VC++ libraries, so we cannot ship this fix in an update to the libraries. Visual Studio 2017 shipped with v141 of the libraries, which is a minor update and binary compatible with v140 (the version shipped with Visual Studio 2015).
> This bug will be fixed in the next major version of the Visual C++ Libraries.
> Thanks,
> Steve Wishnousky
> Software Engineer II - Visual C++ Libraries
> stwish@microsoft.com
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)