Skip to content
/ unicode Public

Tiny Go tool that shows how any character is represented in Unicode, UTF-8, UTF-16, and UTF-32 encodings.

Notifications You must be signed in to change notification settings

fmo/unicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Tiny Go tool that shows how any character is represented in Unicode, UTF-8, UTF-16, and UTF-32 encodings.

🧩 Install

go install github.com/fmo/unicode@latest

Usage

go run main.go πŸš€

or from the binary

./unicode πŸš€

Output:

Character: πŸš€

Unicode code point(s): [U+1F680]
UTF8 bytes: 0XF0 0X9F 0X9A 0X80
UTF16 units: 0x[d83d de80]
UTF32 code points: [U+1F680]

About

Tiny Go tool that shows how any character is represented in Unicode, UTF-8, UTF-16, and UTF-32 encodings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages