<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>Question about rendering character references</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm having a lot of trouble figuring out how to get character references (e.g. &dgr; for lower-case greek delta) to be rendered in the resulting PDF from XEP 4.4.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">My starting XML file specifies UTF-8 encoding in the <?xml ?> declaration, and I have a chunk of text with an embedded "&dgr;" in it. The XML file also includes a DOCTYPE pointing to my DTD, which in turn references the ISO entity files ("ISOgrk1.pen" in this case). I'm using Microsoft's MSXML4 parser to make an initial pass at the XML file to create the FO.xml file, and then pushing that through XEP.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">What I'm seeing in the FO.xml depends on the encoding I specify the file to be delivered in. For example:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Encoding = "UTF-8" yields "δ"</FONT>
<BR><FONT SIZE=2 FACE="Arial">Encoding = "UTF-16" yields the actual greek letter in the file</FONT>
<BR><FONT SIZE=2 FACE="Arial">Encoding = "ISO-8859-1" yields "&#948;"</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">However, in all these cases, when the FO is pushed through XEP, the character doesn't show in the resulting PDF.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Any suggestions on what I'm doing wrong, or what I need to do to get these characters to work? I don't know how this may affect things, but I also need to be able to reference characters from other fonts, too, like "Symbol", "Wingdings", etc.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Thanks in advance for any help!</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Todd</FONT>
</P>
</BODY>
</HTML>