Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 6047 invoked from network); 18 May 2000 13:56:55 -0000 Received: from mta2.rcsntx.swbell.net (151.164.30.26) by locus.apache.org with SMTP; 18 May 2000 13:56:55 -0000 Received: from [207.193.41.138] by mta2.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FUR0083GDDMK0@mta2.rcsntx.swbell.net> for cocoon-users@xml.apache.org; Thu, 18 May 2000 08:56:13 -0500 (CDT) Date: Thu, 18 May 2000 08:55:55 -0500 From: Mike Engelhart Subject: Re: external entities In-reply-to: <3923F2B9.31BF74C0@denic.de> To: cocoon-users@xml.apache.org 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 on 5/18/00 8:40 AM, Ulrich Mayring at ulim@denic.de wrote: > This shouldn't have anything to do with your browser setting, because > entities are rendered independent of any browser language setting. So > you say you are constructing a German (or whatever) locale in your Java > code and pass it to the ResourceBundle? I have been doing this and it > worked for me, that's why I wonder. Turns out that on MacOS, I had to convert the files to be ISO-8859-1 before importing them into my jar file where all my PropertyResourceBundle's are stored. > getString() is a locale-independent method, however, the ResourceBundle > static method isn't. So getString() will return values appropriate for > the locale the ResourceBundle was constructed with. I know. Before calling getString() I called ResourceBundle bundle = ResourceBundle.getBundle("com.earthtrip.myBundle", locale) and then bundle.getString(); mike