ch, err := jisx0208.Rune(0x2422)
if err != nil {
panic(err)
}
fmt.Printf("%c\n", ch) // あ
r, err := jisx0208.Code(ch)
if err != nil {
panic(err)
}
fmt.Printf("%X\n", r) // 2422
-
Notifications
You must be signed in to change notification settings - Fork 3
Converts a JIS X 0208 code to a rune
License
hajimehoshi/go-jisx0208
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Converts a JIS X 0208 code to a rune
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published