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

Andrew Schwartzmeyer reassigned MESOS-7236:
-------------------------------------------

    Assignee: John Kordich

> Base64 encoding/decoding (via stout) behaves differently on Windows
> -------------------------------------------------------------------
>
>                 Key: MESOS-7236
>                 URL: https://issues.apache.org/jira/browse/MESOS-7236
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Joseph Wu
>            Assignee: John Kordich
>              Labels: mesosphere, microsoft
>
> Two tests in stout fail on Windows, showing an odd result of 
> encoding/decoding some unicode strings:
> {code}
> C:\Users\Administrator\workspace\mesos\Mesos_CI-build\FLAG\Plain\label\mesos-ec2-windows\mesos\3rdparty\stout\tests\base64_tests.cpp:60
> Value of: base64::encode_url_safe("~~~\u00ff\u00ff\u00ff\u00ff", false)
>   Actual: "fn5-_____w"
> Expected: "fn5-w7_Dv8O_w78"
> C:\Users\Administrator\workspace\mesos\Mesos_CI-build\FLAG\Plain\label\mesos-ec2-windows\mesos\3rdparty\stout\tests\base64_tests.cpp:80
> Value of: (base64::decode_url_safe("fn5-w7_Dv8O_w78")).get()
>   Actual: "~~~\xC3\xBF\xC3\xBF\xC3\xBF\xC3\xBF"
> Expected: "~~~\u00ff\u00ff\u00ff\u00ff"
> Which is: "~~~\xFF\xFF\xFF\xFF"
> {code}



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

Reply via email to