cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Rocha <rica...@apache.org>
Subject I18n in XSP
Date Sun, 07 May 2000 01:00:24 GMT
Encodings other than the platform's default can now be specified in
XSP by means of the "processor.xsp.encoding" configuration property
specified in the "cocoon.properties" configuration file:

  # Set Russian encoding
  processor.xsp.encoding = Cp1251

If specified, this encoding will be used for code generation and
compilation. This has been successfully tested only with Russian
under Blackdown's JDK1.2. 

If omitted, the default platform's encoding will be used.

Encodings should be specified in 3 contexts:

1) cocoon.properties:
    processor.xsp.encoding = Cp1251

2) The XSP page XML declaration
    <?xml version="1.0" encoding="Cp1251"?>

3) The XSLT stylesheet "output" top element:
    <xsl:output method="html" indent="no" encoding="Cp1251"/>

Thanks to Pavel Karassev for this update.

Mime
View raw message