NetBSD-Users archive

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

Re: Unicode to ASCII



On Fri, Feb 19, 2021 at 08:08:25PM -0700, Bob Proulx wrote:
I'll be honest and say I did not look but on another system I am using
"iconv" for this type of thing routinely.  I will cross my fingers and
hope it is available in pkgsrc.

   iconv -f UTF-8 -t ASCII//TRANSLIT <filein >fileout

It seems it is not possible on NetBSD 9.0 iconv :-(

$ echo 'pão' | iconv -f UTF-8 -t ASCII//TRANSLIT
iconv: iconv_open(ASCII//TRANSLIT, UTF-8): Invalid argument

Is there something that could be installed from pkgsrc (or another
iconv implementation) to make it work?


Home | Main Index | Thread Index | Old Index