difference between hex value and encoding value of a character

前端 未结 0 562
灰色年华
灰色年华 2020-12-12 17:56

I have a rune value but I don\'t know why the hex and encoding values are different :

func main() {
    val := 9989 // or \'✅\'

    fmt.Printf("hex is %         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题