[fpc-devel] fpdoc and unicode characters
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu Aug 14 14:50:30 CEST 2008
On Thu, Aug 14, 2008 at 2:46 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> On Thu, Aug 14, 2008 at 2:24 PM, Sergei Gorelkin
> <sergei_gorelkin at mail.ru> wrote:
>
>> To summarize: Unicode can be used in fpdoc xml files. If the file has
>> ISO8859-1 encoding label, it should be removed or replaced with UTF-8 label.
>
> I'll assume this is all in theory then. :-)
> See my previous reply. Even if I escaped a Unicode character as follows:
> …
>
> it becomes a literal '?' question mark character in the generated HTML
> Source output.
Here is another example:
------------part of fpdoc xml file-----------------------
<module name="gfx_UTF8utils">
<short></short>
<descr>Is this character: <…> displayed correctly?
</descr>
-----------------end------------------------
... and the generated html source with UTF-8 encoding ...
------------html source------------------
<h2>Overview</h2>
<p>Is this character: <?> displayed correctly? </p>
</body>
</html>
----------------end-----------------------
NOTE:
The < and > characters went through fine, but the ellipses character did not.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list