tech-pkg archive

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

Re: proper way to handle ICONV_TRANSLIT on NetBSD (and other platforms)

On Tue, 03 Jul 2012 05:17:52 +0900, Blair Sadewitz 
<> wrote:


I was updating devel/tig to version 1.0, and after obligatorily
banging my head against my desk and feeling clueless, I think I
figured out at least one issue:

 Add "//TRANSLIT" for iconv encoding

[ jf: changed to use stack allocated buffer ]

Signed-off-by: Jonas Fonseca <>

Now, there could be other problems, but it ultimately dies with
"failed to initialize character set conversion".

What is the proper way to fix this?  I'd rather know more instead of
simply copying what other people have done.

I feel it will never fallback to TRANSLIT-less iconv_open :(
because string_format should usually succeed.
OBATA Akio /

Home | Main Index | Thread Index | Old Index