D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] fortune .u8 symlinks

 

On 23 Sep, 2012, at 3:32 pm, Philip Hudson wrote:

I know: I'll have a look at the source.

It's a debian addition, in a block with a FIXME comment header and some commented out debug fprintf statements. It is indeed to do with UTF-8 and calls out to recode_* routines defined in recode.h

From http://recode.progiciels-bpi.ca/index.html :

The Recode library converts files between character sets and
usages. It recognises or produces over 200 different character sets
(or about 300 if combined with an iconv library) and
transliterates files between almost any pair. When exact
transliteration are not possible, it gets rid of offending
characters or falls back on approximations. The recode
program is a handy front-end to the library.


Wow, debian's fortune-mod is bad C. I mean, Daily WTF standard. If this can be long-standing multi-distro code, then maybe I'm not as unworthy to contribute code as I thought.

http://thedailywtf.com/

--
Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq