sjis, euc-jp, and jade

Subject: sjis, euc-jp, and jade
From: Ryan Shaw <ryan@xxxxxxxxxxxxxxx>
Date: Tue, 12 Sep 2000 11:35:24 +0900 (JST)
Hello,

I am trying to use Jade (with the sgmltools frontend) and the 
Modular Docbook Stylesheets to transform Japanese SGML sources 
into HTML. I have no problems converting EUC-JP encoded SGML 
into HTML as follows:

sgmltools -bhtml japanese-euc-jp.sgml

The same command on SJIS encoded SGML sources gives me the 
following:
 
sgmltools -bhtml japanese-sjis.sgml 
/usr/bin/jade:<OSFD>0:5:13:E: non SGML character number 131
/usr/bin/jade:<OSFD>0:5:15:E: non SGML character number 131
/usr/bin/jade:<OSFD>0:5:17:E: non SGML character number 131

etc...Lots of errors parsing my SGML.

After searching the archives, I tried the following:

export SP_ENCODING=sjis
sgmltools -bhtml japanese-sjis.sgml
[snip]...dbcommon.dsl:1541:21:E: invalid character after '#'
[snip]...dbcommon.dsl:1542:43:E: invalid character after '#'
[snip]...dbcallou.dsl:180:19:E: invalid character after '#'

etc...Lots of errors parsing the stylesheets.

What am I doing wrong? 

Thanks,

Ryan Shaw


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread