macOS
brew install bsdconvlocal Homebrew formula metadata
安装
brew install bsdconvlocal Homebrew formula metadata
概览
Charset/encoding converter library
历史
bsdconv is a small charset and text-conversion library with a command-line frontend. It is niche, but it is unusually rich in conversion pipelines for East Asian encodings, Unicode normalization, transliteration, database migration, and custom module chains.
The upstream README describes bsdconv as a buildable C project with module manuals, generated tables, aliases, and a command-line syntax that chains `from`, `inter`, and `to` conversion modules. The official API reference is published from the project at buganini.github.io/bsdconv.
Its examples reveal the project's practical origin: Big5, UTF-8, GB2312/CP936, Chinese traditional/simplified conversion, HTML entities, width counting, fuzzy comparison, and recovery from mis-decoding are central use cases rather than afterthoughts.
The provided package facts show bsdconv packaged by Homebrew. Upstream also documents bindings or integrations for Python, Perl, PHP, Ruby, Go, Java, Haskell, Elasticsearch, PostgreSQL, and MySQL, which suggests use as a library component as much as a standalone CLI.
This is not a broad mainstream text tool like iconv or recode. Its adoption signal is strongest where CJK legacy encodings, database migration, and application-specific conversion pipelines matter.
The `bsdconv` command composes conversion stages with colon-separated modules, for example converting Big5 to simplified Chinese UTF-8, normalizing line endings, emitting HTML entities, or creating fuzzy comparison keys.
The project also ships helper commands such as `bsdconv-man` and `bsdconv-mktable`, matching its module/table-oriented design.
bsdconv matters to package nerds because it sits in the awkward gap between iconv-style charset conversion and application-specific text cleanup. Packaging it keeps an old but practical conversion toolbox available without forcing users to vendor C libraries or language bindings.
Its significance is narrow: it is a survival tool for messy text migrations, especially where East Asian encodings and Unicode edge cases meet databases.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bsdconv | cli | 全局可执行文件 | |
bsdconv-completion | cli | 全局可执行文件 | |
bsdconv-man | cli | 全局可执行文件 | |
bsdconv-mktable | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/buganini/bsdconv
安装元数据
| 软件包键 | brew:bsdconv |
|---|---|
| 版本 | 11.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bsdconv |
| 主页 | https://github.com/buganini/bsdconv |
| 仓库 | https://github.com/buganini/bsdconv |
| 上游文档 | https://buganini.github.io/bsdconv |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/buganini/bsdconv/archive/refs/tags/11.6.tar.gz |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bsdconv |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.