Debian logoDebian Screenshots >


Scripts for reencoding text files and BDF-fonts


The script `trbdf' can convert a BDF font from one codeset to another.

The script `trcs' reencodes text files from one codeset to another. It can generate scripts for `tr'. For example the command
 trcs --from cp1252 --to latin1 --gen-script
gives you the following output:

 trap "exit 0" PIPE

 cat "$@" | tr \
 '\226''\227''\230''\231''\232''\233''\234''\235''\236''\237' \

Both scripts try to approximate the missing from the target codeset symbols.

It is easy to add support of other character sets.

Upload more screenshots