Skip to content

Instantly share code, notes, and snippets.

@hymkor
Created October 6, 2014 10:58
Show Gist options
  • Save hymkor/071061f9f6ff4171ae28 to your computer and use it in GitHub Desktop.
Save hymkor/071061f9f6ff4171ae28 to your computer and use it in GitHub Desktop.
文字の Unicode を確認するだけのプログラム
package main
import "fmt"
import "os"
func main() {
for _, arg1 := range os.Args[1:] {
for _, r := range arg1 {
fmt.Printf("[%0X]", r)
}
fmt.Print("\n")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment