Nuno Ricardo Gomes Antunes wrote:

So we confirm that the charset notation may vary from system to system..
Considering this, what's the best way to go?

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.

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>
FreeBSD

de_AT.ISO8859-1
de_AT.ISO8859-15
de_CH.ISO8859-1
de_CH.ISO8859-15
de_DE.ISO8859-1
de_DE.ISO8859-15

Suse

de_AT
de_AT.iso88591
[EMAIL PROTECTED]
de_AT.utf8
[EMAIL PROTECTED]
de_BE
de_BE.iso88591
[EMAIL PROTECTED]
[EMAIL PROTECTED]
de_CH
de_CH.iso88591
de_CH.utf8
de_DE
de_DE.iso88591
[EMAIL PROTECTED]
de_DE.utf8
[EMAIL PROTECTED]
de_LU
de_LU.iso88591
[EMAIL PROTECTED]
de_LU.utf8
[EMAIL PROTECTED]

Does somebody know a way to get a list of the available charcatersets?

Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
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

Reply via email to