none
WiFi CSP: Issue in applying wifi profile when password has special characters RRS feed

  • Question

  • Hi,

    I was applying wifi profile to windows phone 8.1 via MDM wifi CSP. Command is failing when I apply wifi profile whose password contains special characters. 

    Anyone knows how we can enocde these special characters for Wifi CSP?

    Regards,

    Ganesh Shinde

    Friday, October 17, 2014 9:28 AM

Answers

  • Hi,

    Issue was not with special chars in password field, it was with ssid inside <Data> tag. We have to encode ssid in LocURI node only. I was encoding ssid inside <Data> tag as well which was causing issue.

    So ssid and password inside <Data> tag need not be encoded for special chars but encode in LocURI node.

    Encode special chars with %{hexadecimal ascii value of char}

    Thank you.

    Regards,

    Ganesh Shinde


    • Marked as answer by Ganesh14Shinde Tuesday, October 21, 2014 8:38 AM
    • Edited by Ganesh14Shinde Tuesday, October 21, 2014 8:41 AM added encoding details
    Tuesday, October 21, 2014 8:37 AM

All replies

  • Which special characters are you referring to? Can you provide an example?

    Windows Store Developer Solutions, follow us on Twitter: @WSDevSol|| Want more solutions? See our blog

    Saturday, October 18, 2014 1:28 AM
    Moderator
  • Special characters like @, #, !, $, % etc

    Regards,

    Ganesh Shinde

    Monday, October 20, 2014 7:26 AM
  • Can you try escaping these characters with their HTML equivalents?

    For example:

    @ = &#64; (include the semi-colon)

    # = &#35; (include the semi-colon)

    ! = &#33; (include the semi-colon)

    $ = &#36; (include the semi-colon)

    % = &#37; (include the semi-colon)


    Windows Store Developer Solutions, follow us on Twitter: @WSDevSol|| Want more solutions? See our blog

    Monday, October 20, 2014 9:40 PM
    Moderator
  • Hi,

    Issue was not with special chars in password field, it was with ssid inside <Data> tag. We have to encode ssid in LocURI node only. I was encoding ssid inside <Data> tag as well which was causing issue.

    So ssid and password inside <Data> tag need not be encoded for special chars but encode in LocURI node.

    Encode special chars with %{hexadecimal ascii value of char}

    Thank you.

    Regards,

    Ganesh Shinde


    • Marked as answer by Ganesh14Shinde Tuesday, October 21, 2014 8:38 AM
    • Edited by Ganesh14Shinde Tuesday, October 21, 2014 8:41 AM added encoding details
    Tuesday, October 21, 2014 8:37 AM