Skip to content

panda005/go-wcwidth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

go-wcwidth

Install

go get github.com/shinichy/go-wcwidth

Example

import (
	"github.com/shinichy/go-wcwidth"
)

wcwidth.Wcwidth('あ') // returns 2
wcwidth.Wcswidth("aあ★")) // returns 5

License

BSD-like (2-clause, see wcwidth.go)

About

Go implementation of wcwidth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%