cp2utf8

A tool for converting 8-byte data into UTF8 based on translation tables identical to those used by the linux kbd package. (See setfont(8)).

Why not to simply use iconv?

For some unknown-to-me reason, iconv destroys most of the non-alphanumeric characters. I needed a tool to convert pretty much everything that can be represented in unicode into appropriate unicode characters (for example I wanted to keep the "graphical" characters - those used for frames etc.).

The situation was similar with other tools. :-/

Still this program is generic enough to be usable for many charsets, as long as you have the appropriate translation table (and it's not difficult to create new tables, should you need something exotic).

I personally am using this program together with DOSEMU, as part of a print filter.

Download

Here is the source:

cp2utf8-0.9.tar.bz2

Related

One of the character sets I wanted to use is the rather exotic CP895 alias "Bratři Kameničtí". I created, among others, the translation table for it.


Created by zub, on 16th March 2006