tech-pkg archive

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

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



Hello,

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:

https://github.com/jonas/tig/commit/0b00b4de2bbb672d154dccef4a2b82e5d62fb93e

 Add "//TRANSLIT" for iconv encoding

[ jf: changed to use stack allocated buffer ]

Signed-off-by: Jonas Fonseca <fonseca%diku.dk@localhost>


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.

Regards,

--Blair


Home | Main Index | Thread Index | Old Index