Browse Source
PJL has a job name field. I don't think this is used for anything, but just in case I want to put something human-readable there. But it's also probably a good idea to keep this pure ASCII text. Previously I used iconv() to convert the CUPS job name to ASCII. But: - on FreeBSD, an explicit "-liconv" seems to be necessary (#10), - there's an autoconf macro to deal with this, but it's tangled up with gettext and it seems like a hassle, - the //TRANSLIT//IGNORE feature I used seems to be a GNU extension and probably won't work on other systems anyway. So instead, let's just concatenate some job information together, dropping any non-ASCII component. That's probably good enough.pull/17/head
1 changed files with 32 additions and 37 deletions
Loading…
Reference in new issue