[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesos-issues
Subject:    [jira] [Created] (MESOS-7335) Replace `wstring` with `u16string`
From:       "Andrew Schwartzmeyer (JIRA)" <jira () apache ! org>
Date:       2017-03-31 21:00:42
Message-ID: JIRA.13060798.1490993987000.179942.1490994042738 () Atlassian ! JIRA
[Download RAW message or body]

Andrew Schwartzmeyer created MESOS-7335:
-------------------------------------------

             Summary: 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
            Priority: Minor


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 muse 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic