[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Questions regarding utf-8



Sebastian Rittau <srittau@jroger.in-berlin.de> wrote:
> On Thu, May 08, 2003 at 07:50:50PM -0400, Bob Hilliard wrote:
[...]
>>      2.  What is the best available filter to convert from encoding X
>>          to 7 bit ASCII?

> iconv is the generic libc-based converter:

>  iconv --from=SRC-ENCODING --to=DST-ENCODING SRC-FILE >DST-FILE
[...]

With glibc I'd use
iconv --from=SRC-ENCODING --to=DST-ENCODING//TRANSLIT
if it is acceptable to change the length of strings. This will replace
e.g. the Euro-Symbol with "EUR".
           cu andreas



Reply to: