Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cost-Script over sgml data containing unicode

Status
Not open for further replies.

batewoman

Programmer
Aug 4, 2003
5
DE
Hi,
I have an sgml-document containing entities for cyrillic characters. In the entity-table, these are replaced by their corresponding unicode-values, in the form of:
<!ENTITY Acyr CDATA "&#x0410;" -- capital a -->
or:
<!ENTITY Acyrac CDATA "&#x0410;##x0301;" -- capital a acute -->

However, if I parse the sgml-file first with the nsgmls-parser and then send the fp handle to loadsgmls

set fp [open "|c:/WINNT/system32/nsgmls -butf-8 $sgmlfile" r]
loadsgmls $fp

all the entities are lost completely.
All the paths for the DTDs and other files in the sgml-document are correct, I've checked that several times now.
Does anyone know how to handle this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top