
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
CLI utility which converts Unicode codepoints to a string (or vice versa). Copies the result to the system clipboard or just prints it to the console.
Can also convert codepoints to many dump formats.
Make sure you have Ruby installed and installing gems works properly. Then do:
$ gem install unicopy
Codepoints format is hexadecimal, "U+" is permitted, examples:
$ unicopy 52 75 62 79 --print
Ruby
$ unicopy U+0052 U+0075 U+0062 U+0079 --print
Ruby
$ unicopy --string Ruby --print
U+0052 U+0075 U+0062 U+0079
--help | | this help page
--parse-decimal | | interpret given codepoints as decimal, instead of hexadecimal values
--print | -p | do not copy to system clipboard, but print to screen
--string | -s | see above
--version | | displays version of unicopy
--(dump format) | | specify the format to be used for dumping the codepoints (see below)
$ unicopy 52 75 62 79 20 1F32B --print --hex
52 75 62 79 20 1F32B
$ unicopy --string "Ruby π«" --print --hex
52 75 62 79 20 1F32B
U+
Prefix$ unicopy 52 75 62 79 20 1F32B --print --uplus
U+0052 U+0075 U+0062 U+0079 U+0020 U+1F32B
$ unicopy --string "Ruby π«" --print --uplus
U+0052 U+0075 U+0062 U+0079 U+0020 U+1F32B
0x
Prefix$ unicopy 52 75 62 79 20 1F32B --print --0x
0x0052 0x0075 0x0062 0x0079 0x0020 0x1F32B
$ unicopy --string "Ruby π«" --print --0x
0x0052 0x0075 0x0062 0x0079 0x0020 0x1F32B
$ unicopy 52 75 62 79 20 1F32B --print --dec
82 117 98 121 32 127787
$ unicopy --string "Ruby π«" --print --dec
82 117 98 121 32 127787
$ unicopy 52 75 62 79 20 1F32B --print --ruby
\\u{52 75 62 79 20 1F32B}
$ unicopy --string "Ruby π«" --print --ruby
\\u{52 75 62 79 20 1F32B}
$ unicopy 52 75 62 79 20 1F32B --print --es6
\\u{52}\\u{75}\\u{62}\\u{79}\\u{20}\\u{1F32B}
$ unicopy --string "Ruby π«" --print --es6
\\u{52}\\u{75}\\u{62}\\u{79}\\u{20}\\u{1F32B}
$ unicopy 52 75 62 79 20 1F32B --print --js
\\u0052\\u0075\\u0062\\u0079\\u0020\\uD83C\\uDF2B
$ unicopy --string "Ruby π«" --print --js
\\u0052\\u0075\\u0062\\u0079\\u0020\\uD83C\\uDF2B
$ unicopy 52 75 62 79 20 1F32B --print --css
\\52\\75\\62\\79\\20\\1f32b
$ unicopy --string "Ruby π«" --print --css
\\52\\75\\62\\79\\20\\1f32b
$ unicopy 52 75 62 79 20 1F32B --print --html-hex
Ruby 🌫
$ unicopy --string "Ruby π«" --print --html-hex
Ruby 🌫
$ unicopy 52 75 62 79 20 1F32B --print --html-dec
Ruby 🌫
$ unicopy --string "Ruby π«" --print --html-dec
Ruby 🌫
$ unicopy 52 75 62 79 20 1F32B --print --bytes-utf8
52 75 62 79 20 F0 9F 8C AB
$ unicopy --string "Ruby π«" --print --bytes-utf8
52 75 62 79 20 F0 9F 8C AB
Copyright (C) 2017-2021 Jan Lelis https://janlelis.com. Released under the MIT license.
FAQs
Unknown package
We found that unicopy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.