cocot
« Back to VersTracker
Description:
Code converter on tty
Type: Formula  |  Latest Version: 1.2-20171118@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: tty encoding converter japanese console
Install: brew install cocot
About:
cocot is a character code converter designed for use on TTY (teletypewriter) terminals and console environments. It seamlessly converts text between various character encodings, such as Shift-JIS, EUC, and ISO-2022, which are common in Japanese computing. This tool is essential for ensuring proper text display and data interchange in legacy systems and mixed-encoding environments.
Key Features:
  • Real-time conversion of TTY input/output streams
  • Support for multiple Japanese character encodings (Shift-JIS, EUC, ISO-2022)
  • Lightweight and designed for console-based workflows
  • Configurable via command-line options
Use Cases:
  • Reading and writing files with different Japanese character encodings on a terminal
  • Filtering text data through a conversion pipeline in shell scripts
  • Ensuring correct character display when connecting to legacy remote systems
Alternatives:
  • iconv – Standard GNU utility for character set conversion; more universally available but less specialized for specific TTY nuances.
  • nkf – Network Kanji Filter; a powerful and widely used tool for Japanese character conversion with extensive features.
License: BSD-3-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit