Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p9BFZjBR016036 for ; Tue, 11 Oct 2011 17:35:46 +0200 Received: (qmail 18401 invoked by alias); 11 Oct 2011 15:35:40 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 11 Oct 2011 15:35:40 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx032) with SMTP; 11 Oct 2011 17:35:40 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p9BFWdt4000399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Oct 2011 17:32:39 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p9BEbnFn004049; Tue, 11 Oct 2011 17:32:38 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1787533 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 11 Oct 2011 17:32:38 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p9BFWc82019323 for ; Tue, 11 Oct 2011 17:32:38 +0200 Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p9BFWOIZ032621 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 11 Oct 2011 17:32:28 +0200 Received: by bkbc12 with SMTP id c12so389361bkb.22 for ; Tue, 11 Oct 2011 08:32:24 -0700 (PDT) Received: by 10.223.7.14 with SMTP id b14mr14585704fab.10.1318347144216; Tue, 11 Oct 2011 08:32:24 -0700 (PDT) Received: from irwin.vpn.uni-freiburg.de (p548064A7.dip.t-dialin.net. [84.128.100.167]) by mx.google.com with ESMTPS id w14sm38082157fae.13.2011.10.11.08.32.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Oct 2011 08:32:23 -0700 (PDT) Received: by irwin.vpn.uni-freiburg.de (Postfix, from userid 500) id EC24114F5B; Tue, 11 Oct 2011 17:32:19 +0200 (CEST) Mail-Followup-To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE References: <4E945D77.6090309@morningstar2.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Message-ID: <20111011153219.GA3677@oberdiek.my-fqdn.de> Date: Tue, 11 Oct 2011 17:32:19 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Heiko Oberdiek Subject: Re: Strings, and regular expressions To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4E945D77.6090309@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6owQmP6PwN9E50Yk1S2YOWcitjZGX1UX8ggJEqVDNnPZC8Gy16stYnehQHY qaECbCkWt+idzzt9GrdbnOJUv36FlBzfS4VztyREXAvXkfbGBANyrcw9lvwZYGxBMBtFzrpWp0rE 9qOA1ccDn/5ZpLYL1+DrOZm+77Ans0RwR8hgg6rKMqduX1lWyK3USfTbno=V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6915 On Tue, Oct 11, 2011 at 04:15:03PM +0100, Joseph Wright wrote: > On 10/10/2011 16:07, Bruno Le Floch wrote: > > - Most encoding functions (as opposed to decoding) could be made > > expandable. Is it worth it? > > - There may be need to support other encodings. Which ones? > > - It is not clear how utf-8 input/output should be treated in pdftex. > > What is needed for PDF bookmark support? This seems to be the main use > case for these things. hyperref already reencodes bookmark strings with setting pdfencoding=auto. The bookmark string is construced in Unicode encoding. Then the reencoding to PDFDocEncoding is tried. If successful the result string is used, otherwise the Unicode string. For the reencoding stuff package stringenc is used and don't need to be expandable for hyperref. Yours sincerely Heiko Oberdiek