On Thu, 08 Jul 2004 14:17:32 +0200, Michael Bell wrote > Actually we store the charcterset at two positions: > > 1. menu.xml > > All charactersets for the different languages are configured here. > So the most customization steps must be performed here. Please try > to change the string for iso 8859-1 at this position. If this works > then we can start thinking about a better position of this configuration.
I changed all occurrences of "iso-8859" to "ISO8859" on menu.xml. Also on initServer I altered sub setLanguage to include: setlocale(LC_MESSAGES, $LANGUAGE.".".$CHARSET); and it works. > > 2. servers/*.conf > > The default language with the default encoding is stored in the > individual configurations of the interface. > > Perhaps we have to extend a XML file to map the language to an > encoding. An extension of menu.xml could look like this: > > <openca> > <interface_menus> > ... > </interface_menus> > <i18n> > <translation> > <language>de_DE</language> > <encoding>ISO8859-1</encoding> > </tranlsation> > ... > </i18n> > </openca> This seems like a good idea, as each translation must use a specific charset, which is system-dependant. > Does somebody know a way to get a list of the available charcatersets? The only one I know is "locale -m" Regards Nuno Antunes ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel