June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -0,0 +1,16 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func main() {
|
||||
lang := strings.ToUpper(os.Getenv("LANG"))
|
||||
if strings.Contains(lang, "UTF") {
|
||||
fmt.Printf("This terminal supports unicode and U+25b3 is : %c\n", '\u25b3')
|
||||
} else {
|
||||
fmt.Println("This terminal does not support unicode")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue