Golang unicode issue


  • 0
    F

    I was working on problem 345 and noticed weird behavior in the processing of strings that contained an ampersand. Regardless of how I tried to format the output, ampersand always printed as '\u0026'.

    Even when I didn't modify or convert the string this was the case.

    e,g,

    func reverseVowels(s string) string { return s }

    Custom testcase string = "&"


  • 0

    @farga1983 Thanks for reporting this issue. We are currently investigating it and will update you as soon as we have root caused the issue.


  • 0

    @farga1983
    Thanks for your feedback and we have fixed this issue. Enjoy!


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.