Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- "unicode/utf8"
- )
- func main() {
- input := ";"
- fmt.Println(ProportionalForm2FullwidthForm(input))
- }
- func ProportionalForm2FullWidthForm(s string) string {
- r, _ := utf8.DecodeRuneInString(s)
- r += 65248
- return string(r)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement