Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 30018 invoked by uid 500); 18 Mar 2003 19:02:37 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 30005 invoked from network); 18 Mar 2003 19:02:37 -0000 Received: from moutvdom.kundenserver.de (212.227.126.251) by daedalus.apache.org with SMTP; 18 Mar 2003 19:02:37 -0000 Received: from [212.227.126.224] (helo=mrvdomng.kundenserver.de) by moutvdom.kundenserver.de with esmtp (Exim 3.35 #1) id 18vMMC-0002cc-00 for cocoon-users@xml.apache.org; Tue, 18 Mar 2003 20:02:40 +0100 Received: from [80.133.107.65] (helo=duron2002) by mrvdomng.kundenserver.de with smtp (Exim 3.35 #1) id 18vMMC-0004uE-00 for cocoon-users@xml.apache.org; Tue, 18 Mar 2003 20:02:40 +0100 Reply-To: From: "Robert Douglass" To: "Cocoon-Users@Xml. Apache. Org" Subject: character encoding problem with resource reader? Date: Tue, 18 Mar 2003 20:08:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm encountering a problem where this � character in a javascript file causes illegal character exceptions when read with the resource reader, but not when I open the file up directly from the filesystem. The character occurs inside a javascript character array ["�"]. Cocoon serves an html page and the .js file is then loaded as an included, also served by Cocoon. Any tricks to using the resource reader? My map:read tag has two parameters, type="resource" and src. Do I need to specify encoding or mime-type to guarantee the accurate reading of text files? -Robert Douglass --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org