pkg.soopen package index

brew / 排名 9403

使用 Homebrew, apt, MacPorts, Nix 安装 uni2ascii

查看 uni2ascii 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install uni2ascii

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install uni2ascii

MacPorts ports tree · textproc/uni2ascii/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install uni2ascii

Debian stable package indexes · uni2ascii · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#uni2ascii

nixpkgs package indexes · pkgs/by-name/un/uni2ascii/package.nix · 来源: api.github.com

概览

软件包摘要

Bi-directional conversion between UTF-8 and various ASCII flavors

命令和别名

  • ascii2uni
  • u2a
  • uni2ascii

历史

项目历史与用法

uni2ascii is a pair of Unix-style conversion programs, `uni2ascii` and `ascii2uni`, for translating between UTF-8 Unicode and many 7-bit ASCII representations. The official page lists more than thirty supported representations, including HTML, SGML, XML, OOXML, Unicode-standard U+ notation, URI escapes, quoted-printable, POSIX charmap formats, programming-language escapes, and related formats.

项目历史

The project originated as a Unicode escape conversion utility and, by version 2.0, replaced the original Python implementation with a C program. The author's changelog says that rewrite added more output forms, improved speed and error reporting, and handled the entire Unicode range rather than only the BMP.

Version 2.1 added `ascii2uni`, the inverse program that converts ASCII escape forms back to UTF-8 Unicode. Later releases expanded the set of recognized notations and moved from many separate format flags to the single `-a` format selector in version 4.0.

The official homepage lists version 4.20 as current and last modified on 2019-06-28, while the published changelog on the page highlights 2010-2011 maintenance around Debian and NetBSD bug fixes, POSIX portability, and conversion semantics.

采用历史

The official homepage explicitly lists package links for Arch Linux, Debian stable/testing/unstable, FreeBSD, MacPorts, Fink, OpenPackage, Red Hat/Fedora RPMs, SUSE, and Ubuntu. The supplied package facts show continuing package-manager presence in Homebrew, Debian, Ubuntu, MacPorts, and Nix.

This is a classic small Unix utility adoption story: the upstream site provides tarballs and manpages, while operating-system distributions make the commands available for scripts, build systems, documentation tooling, and text-cleanup workflows.

使用方式

`uni2ascii` reads UTF-8 text and writes an ASCII representation such as HTML numeric references, URI escapes, quoted-printable, U+ notation, programming-language escapes, or approximate ASCII replacements. The official page gives pipeline examples where `ascii2uni` and `uni2ascii` are chained to convert one escape syntax to another through Unicode.

The manpage documents stdin/stdout behavior and many format choices, so the tool fits shell pipelines. The homepage also calls out practical use cases: embedding Unicode in program source, debugging, and entering Unicode into systems that can process Unicode but are not 8-bit clean.

为什么软件包爱好者会关心

uni2ascii matters to package and shell users because it solves a narrow but persistent portability problem: moving Unicode text through tools, source files, logs, markup, and legacy systems that expect ASCII-safe representations.

Its niche is older and lower-level than modern Unicode pickers. Where `uni` helps identify and search characters, uni2ascii is about conversion formats and reversible or approximate transformations, which makes it valuable in scripts and regression tests.

时间线

  • Version 2.0: Original Python program replaced by a faster C implementation.
  • Version 2.1: `ascii2uni` added as the inverse of `uni2ascii`.
  • Version 4.0: Format selection consolidated under the `-a` option.
  • 2011: Version 4.18 changelog records Debian and NetBSD-related fixes.
  • 2019: Homepage lists version 4.20 and last modification date 2019-06-28.

Related projects

  • The official page names enca, iconv, recode, and uniconv for conversion between UTF-8 and other encodings.
  • The same page points to Bill Poser's ascii2binary/binary2ascii and Unicode Utilities suite for adjacent text and Unicode inspection tasks.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ascii2unicli全局可执行文件
u2acli全局可执行文件
uni2asciicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本4.20
管理器更新时间2026-07-10
本地数据OK
上游not checked
检测到的最新版本未检测到

https://billposer.org/Software/uni2ascii.html

安装元数据

软件包元数据

软件包键brew:uni2ascii
版本4.20
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/uni2ascii
主页https://billposer.org/Software/uni2ascii.html
上游文档https://billposer.org/Software/uni2ascii.html
许可证GPL-3.0-only
源码归档https://billposer.org/Software/Downloads/uni2ascii-4.20.tar.bz2
最后更新2026-07-10T10:41:25-04:00
Pulseupdated
依赖gettext
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameuni2ascii
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

uni2ascii 4.20-1

UTF-8 to 7-bit ASCII and vice versa converter

https://billposer.org/Software/uni2ascii.html

sudo apt install uni2ascii
  • Section: text
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Uni2ascii
Debian stable package indexes · deb.debian.org · Debian stable package indexes: uni2ascii from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

uni2ascii

nix profile install nixpkgs#uni2ascii
  • normalized package name match
  • 匹配方式:Uni2ascii
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/un/uni2ascii/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

uni2ascii 4.18-6

UTF-8 to 7-bit ASCII and vice versa converter

https://billposer.org/Software/uni2ascii.html

sudo apt install uni2ascii
  • Section: universe/text
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Uni2ascii
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: uni2ascii from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

uni2ascii

sudo port install uni2ascii
  • normalized package name match
  • 匹配方式:Uni2ascii
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/uni2ascii/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation