Provide helper function to convert XMLCh into PCWSTR

Description

As per discussion with Scott offline.  Windows needs wchar_t and xerces 3.2 provides char16_t

It's "probably safe most of the time" to treat one as the other, but we need to do better than that.

Environment

None

Activity

Rod Widdowson September 26, 2017 at 10:30 AM

This was just slipshod coding on my part.

a3679ce recasts the abuse of auto_ptr_XMLCh as wstring_convert<std::codecvt_utf8_utf16<wchar_t>

 

Rod Widdowson August 30, 2017 at 4:01 PM

314fbf4 (not yet pushed) does a cast in the IIS7 code.  Yet to do

  • check ISAPI for the same.

  • write the converter

  • Or - given that in many cases I'm just transiting a char_t into wchar_t use a converter.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Created August 30, 2017 at 3:46 PM
Updated July 17, 2018 at 2:48 PM
Resolved September 26, 2017 at 10:30 AM