Special ASCII character not supported

Discuss how to use DoxyPress
Post Reply
cosborn
Posts: 1
Joined: Sat Nov 28 2015 1:09 am

Special ASCII character not supported

Post by cosborn »

Special ASCII Character is not supported, shows up as "< ���0.2%" when it should appear as "< ±0.2%".

Code: Select all

        <CAPTION>
            Table for fosc vs Baud Rate with < ±0.2% Error, sampling 16x per bit.
        </CAPTION>
DoxyPress Version: 1.2.4
marlowa
Posts: 117
Joined: Sun Oct 25 2015 10:52 am

Re: Special ASCII character not supported

Post by marlowa »

I would be very suprised to see that work. Even with UTF8 it will not work unless the doxypress web pages are for HTML 5. The escape sequence &plusmn; for the plus-or-minus symbol should work everywhere.
ansel
Posts: 152
Joined: Fri Apr 10 2015 8:23 am

Re: Special ASCII character not supported

Post by ansel »

I'd like to confirm what encoding your input files are in, and what encoding your browser has detected for the HTML output. We strive to support UTF-8 on input and output however there may still be some code that is not unicode aware.

Andrew is correct that the &plusmn; HTML entity is more widely supported and will also work on all backends, even ones which do not support UTF-8 encoding.
Ansel Sermersheim
CopperSpice Cofounder
Post Reply