[pdal] Non-English characters
Mateusz Loskot
mateusz at loskot.net
Wed Jan 17 02:08:33 PST 2018
See what the docs [1] say about the A in CW2A.
Meanwhile, you need to use WideCharToMultiByte [2] with CP_UTF8 code page.
[1] https://msdn.microsoft.com/en-us/library/87zae4a3.aspx
[2] https://msdn.microsoft.com/en-us/library/windows/desktop/dd374130.aspx
On 17 January 2018 at 11:02, <pidgeon13 at googlemail.com> wrote:
> std::string sFilePath = CW2A(filepath, CP_UTF8);
>
>
>
> Regards,
>
>
>
> Stephen
>
>
>
> Sent from Mail for Windows 10
>
>
>
> From: Mateusz Loskot
> Sent: 17 January 2018 10:00
> To: pidgeon13 at googlemail.com
> Cc: Andrew Bell; pdal at lists.osgeo.org
> Subject: Re: [pdal] Non-English characters
>
>
>
> On 17 January 2018 at 10:31, <pidgeon13 at googlemail.com> wrote:
>
>>
>
>> The user browses for a file in a dialog file browser, and I convert this
>
>> string to UTF-8
>
>
>
> How do you convert to UTF-8?
>
>
>
> Please, you need to show some code (one image for 1000 words).
>
>
>
> Best regards,
>
> --
>
> Mateusz Loskot, http://mateusz.loskot.net
>
>
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the pdal
mailing list