# 使用 Homebrew 安装 bsdconv

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bsdconv
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:bsdconv
- **软件包管理器:** Homebrew
- **版本:** 11.6
- **来源摘要:** Charset/encoding converter library
- **主页:** <https://github.com/buganini/bsdconv>
- **仓库:** <https://github.com/buganini/bsdconv>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 11.6
## 项目历史与用法

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
