# 使用 Homebrew 安装 bsdconv

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

## 安装

```sh
sudo av install brew:bsdconv
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bsdconv
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:bsdconv
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bsdconv>
- **版本:** 11.6
- **来源摘要:** Charset/encoding converter library
- **主页:** <https://github.com/buganini/bsdconv>
- **仓库:** <https://github.com/buganini/bsdconv>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/buganini/bsdconv/archive/refs/tags/11.6.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bsdconv (cli)
- bsdconv-completion (cli)
- bsdconv-man (cli)
- bsdconv-mktable (cli)
- bsdconv (别名)
- bsdconv-completion (别名)
- bsdconv-man (别名)
- bsdconv-mktable (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 11.6
- 本地数据: OK
- 上游仓库: https://github.com/buganini/bsdconv
- 检测到的最新版本: 11.6 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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.

### 时间线

- 2010s: Upstream documentation and slides present bsdconv as a modular charset conversion library and CLI.
- 2010s: Language bindings and database integrations appear around the core library.
- 2026: Provided package facts show bsdconv available as a Homebrew formula.

### Related projects

- iconv is the standard comparison point for charset conversion.
- GNU recode is an older adjacent text conversion tool.
- The upstream bindings connect bsdconv to Python, Perl, PHP, Ruby, Go, Java, Haskell, Elasticsearch, PostgreSQL, and MySQL ecosystems.

### 来源

- <https://buganini.github.io/bsdconv>
- <https://github.com/buganini/bsdconv>
- <https://raw.githubusercontent.com/buganini/bsdconv/master/README.md>
- source_facts.package-manager


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **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:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [nkf](https://pkg.so/zh-hans/brew/nkf/) - Shares pkgdb curated category or tags: character-encoding, cli, developer-tools, text-processing.
- [cmigemo](https://pkg.so/zh-hans/brew/cmigemo/) - Shares pkgdb curated category or tags: cli, developer-tools, library, text-processing.
- [libunicode](https://pkg.so/zh-hans/brew/libunicode/) - Shares pkgdb curated category or tags: cli, developer-tools, library, text-processing.
- [sd](https://pkg.so/zh-hans/brew/sd/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [enca](https://pkg.so/zh-hans/brew/enca/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [choose-rust](https://pkg.so/zh-hans/brew/choose-rust/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [enscript](https://pkg.so/zh-hans/brew/enscript/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [recode](https://pkg.so/zh-hans/brew/recode/) - Shares pkgdb curated category or tags: character-encoding, cli, developer-tools, text-processing.
- [cconv](https://pkg.so/zh-hans/brew/cconv/) - Local package facts share a topical domain. Shared terms: character, cli, conversion, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/bsdconv.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bsdconv.yml)


## 来源

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