Edit Help file from DM42

Discussion around the Swiss Micros DM42 calculator.
Post Reply
zooropa1844
Posts: 12
Joined: Sun Aug 27, 2017 10:17 pm

Edit Help file from DM42

Post by zooropa1844 » Sun May 20, 2018 1:52 pm

Good afternoon, everybody. I´d like to change the help file to include other information besides the calculator help but I don´t know how to insert UTF-8 characters in the document to better express some math formulas. I have tried several things as typing &#decimal code of the character in Notepad++ but without success. The idea is to make advantage of the whole character set supported by the calculator.

Any help would be much appreciated!

rprosperi
Posts: 379
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Edit Help file from DM42

Post by rprosperi » Sun May 20, 2018 5:23 pm

If the goal is to display these special characters/symbols on the DM42 display, it's impossible to say, since the html viewer implemented in the DM42 is not specifically documented. Once all the code has been released, it will be possible to research this, as SM almost certainly used some existing browser/viewer tool (rather than building their own) which is probably documented (somewhere) by the author of that component. I'd suggest waiting; it is not expected to be too much longer before said information is available, otherwise all you can do is experiment by trying different code to see if it is displayed properly.
--bob p

DM42: β00071 & 00282

zooropa1844
Posts: 12
Joined: Sun Aug 27, 2017 10:17 pm

Re: Edit Help file from DM42

Post by zooropa1844 » Tue May 22, 2018 7:03 am

Thank you indeed for the answer. Unfortunately I don't have much time to experiment right now so I'll wait for the documentation when it is released as you advise me.

User avatar
ijabbott
Posts: 113
Joined: Fri Dec 15, 2017 1:34 pm
Location: Manchester, UK

Re: Edit Help file from DM42

Post by ijabbott » Tue May 22, 2018 4:10 pm

I found some sort of table of HTML entities in the firmware, containing '∫' (integral sign), '&' (ampersand), '>' (greater than sign), '<' (less than sign), ' ' (non-breaking space), '▼' (black down-pointing triangle), '▲' (black up-pointing triangle), '↓' (down arrow), '↑' (up arrow), '←' (left arrow), '→' (right arrow), '±' (plus&minus sign), '÷' (division sign), '×' (multiplication sign), 'Σ' (capital Greek sigma), 'Γ' (capital Greek Gamma), 'θ' (lower-case Greek theta).

Not all of the entities worked as expected: '↓' displayed an up arrow, '↑' displayed a down arrow, '←' displayed a lower-case Greek mu, '±' displayed three characters +/-, 'Γ' and 'θ' displayed as-is (not converted to a single character).

Some UTF-8 sequences in the file display the corresponding Unicode characters, but I haven't determined which ones work yet.

Post Reply