Hi!

I want to use shift-jis and get this error

An error has occured
org.xml.sax.SAXParseException: Invalid encoding name "Shift-JIS".
context://samples/i18n/hello.xml - 1:43

here is the xml

<?xml version="1.0" encoding="Shift-JIS"?>

<page xmlns:i18n="http://apache.org/cocoon/i18n/2.1";
      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>
 <title><i18n:text>titletext</i18n:text></title>
 <jx:set var="name" value="${cocoon.parameters['locale']}}"/>
 <content>
  <para><i18n:text>contenttext</i18n:text>${name}</para>
 </content>
</page>

best regards

johnson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to