You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package search
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestEmoji(t *testing.T) {
|
|
fmt.Println(replaceUnicodeEmoji("\\U1F441\\UFE0F"))
|
|
fmt.Println("👁️")
|
|
p, _ := replaceUnicodeEmoji("\\U1F441\\UFE0F")
|
|
fmt.Println("👁️" == p)
|
|
for _, v := range p {
|
|
fmt.Printf("%U", v)
|
|
}
|
|
}
|