From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 19 12:09:58 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF903B6A for ; Thu, 19 Mar 2015 12:09:58 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0F517BD for ; Thu, 19 Mar 2015 12:09:58 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2JC9wpl088944 for ; Thu, 19 Mar 2015 12:09:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198702] print/cups-base: unable to print when a job name is not in UTF-8 Date: Thu, 19 Mar 2015 12:09:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 12:09:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198702 Bug ID: 198702 Summary: print/cups-base: unable to print when a job name is not in UTF-8 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: emz@norma.perm.ru Since 1.7.x it's unable to send print jobs which contain invalid UTF-8 symb= ols, like jobs containing KOI8-R symbols, for example. And these job names are o= ften created automatically, like LibreOffice does, for example. Since FreeBSD doesn't fully support UTF-8 and developing UTF-8 capable environment is still in process, lots of peaople can step onto this. Symptom: =3D=3D=3DCut=3D=3D=3D D [19/Mar/2015:16:49:05 +0500] [Client 16] POST /printers/Mita HTTP/1.1 D [19/Mar/2015:16:49:05 +0500] cupsdSetBusyState: newbusy=3D"Active clients= ", busy=3D"Not busy" D [19/Mar/2015:16:49:05 +0500] [Client 16] No authentication data provided. D [19/Mar/2015:16:49:05 +0500] [Client 16] 2.0 Create-Job 23 D [19/Mar/2015:16:49:05 +0500] Create-Job ipp://localhost:631/printers/Mita D [19/Mar/2015:16:49:05 +0500] Create-Job client-error-attributes-or-values-not-supported: Bad job-name value: "job-name": Bad name value "=D0=B0=D0=BA=D1=82 =D1=80=D0=B0=D0=B1=D0=BE=D1= =82 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8C 2015" - bad UTF-8 sequence (= RFC 2911 section 4.1.2). E [19/Mar/2015:16:49:05 +0500] [Client 16] Returning IPP client-error-attributes-or-values-not-supported for Create-Job (ipp://localhost:631/printers/Mita) from localhost D [19/Mar/2015:16:49:05 +0500] [Client 16] Content-Length: 248 D [19/Mar/2015:16:49:05 +0500] [Client 16] cupsdWriteClient error=3D0, used= =3D0, state=3DHTTP_STATE_POST_SEND, data_encoding=3DHTTP_ENCODING_LENGTH, data_remaining=3D248, response=3D0x80313f380(IPP_IDLE), pipe_pid=3D0, file= =3D-1 D [19/Mar/2015:16:49:05 +0500] [Client 16] Writing IPP response, ipp_state=3DDATA, old wused=3D0, new wused=3D0 D [19/Mar/2015:16:49:05 +0500] [Client 16] bytes=3D0, http_state=3D0, data_remaining=3D0 D [19/Mar/2015:16:49:05 +0500] [Client 16] Waiting for request. D [19/Mar/2015:16:49:05 +0500] cupsdSetBusyState: newbusy=3D"Not busy", busy=3D"Active clients" =3D=3D=3DCut=3D=3D=3D Workaround: make a job name with latin1. In LO, for example, this can be do= ne by saving a file with a latin filename. --=20 You are receiving this mail because: You are the assignee for the bug.=