cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <john...@erp.tw>
Subject Shift-jis encoding
Date Fri, 01 Dec 2006 07:15:41 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message