These two small command-line utils convert text between
BeOS's internal UTF-8 and various other text coding schemes.
Both utf8_to_ascii and ascii_to_utf8 take as their parameters
a file to convert, and possibly a coding scheme. To see
what coding schemes are available type utf8_to_ascii or
ascii_to_utf8. 

By default the programs output the results to standard output
(i.e terminal). If you want the results to some file you'll
have to redirect the output like this (for example):
utf8_to_ascii utf_file > ascii_file

The source is included, and Makefile for x86. On x86 with
gcc just type make in the directory and the programs are
compiled. It's very straight forward to compile these for
PPC. Both utf8_to_ascii and ascii_to_utf8 derive from
the same source, text_conversion.cpp. To compile the 
ascii_to_utf8 version just #define TO_UTF. These are
done automatically for x86 Makefile.

One last note: to get these programs to compile under
R3 all you have to do is remove the last parameter
from convert_to/from_utf8 function.

Regards,
Arto Jalkanen
ajalkane@cc.hut.fi
