Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 72411 invoked from network); 17 May 2000 23:25:43 -0000 Received: from mta4.rcsntx.swbell.net (151.164.30.28) by locus.apache.org with SMTP; 17 May 2000 23:25:43 -0000 Received: from [209.184.1.49] by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FUQ00IRT8XY53@mta4.rcsntx.swbell.net> for cocoon-dev@xml.apache.org; Wed, 17 May 2000 18:22:47 -0500 (CDT) Date: Wed, 17 May 2000 18:22:34 -0500 From: Mike Engelhart Subject: External Entities & bundles To: Cocoon Dev Message-id: MIME-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N OK, I've run into yet another problem with Cocoon and i18n...somehow I feel that i'm the only person making a localized application. :-) Anyway, because I want to separate presentation from data, I have resorted to using ResourceBundle's from within my stylesheets to access localized strings based on the users browser setting (or session setup). This works fine except that most non-english languages use non-ascii characters like ä When I get the string from my PropertyResourceBundle by using this call: Assume that the key/value looks like: SOME_TEXT=Söme Text Label I just get the actual entity in my HTML output. The same goes if I put this in the ResourceBundle SOME_TEXT=Sßme Text Label One suggestion on the users list was to do the ResourceBundle.getString() call from the XSP which may work but this totally ruins the separation of presentation from data. I don't want to have things like this in my XML Some Text Label which has nothing to do with my data. I tried putting the entity's characters directly into the PropertyResourceBundle but that just comes out as "?" in my HTML. Anyone who has any ideas about this please let me know. thanks, Mike