Macro language and non-ASCII characters
Posted by
Michael Doube-4 on
URL: http://imagej.273.s1.nabble.com/Macro-language-and-non-ASCII-characters-tp5002388.html
Dear all,
It seems like non-ASCII characters aren't handled by the macro interpreter, maybe in a platform-dependent way.
Most recently, this macro code gives a NaN result instead of the correct value from the table:
a = getResult("Vol. (µm³)", 0);
print(a);
After running BoneJ's Analyse Particles command. Seems like the ³ breaks it. Previously I broke the macro language by putting a ü in a menu item.
I had a look into the code and fail to see the source of the breakage. Can I make a request that someone more enlightened points me towards the right spot, or somehow makes the macro language understand Unicode?
Michael
[
http://www.rvc.ac.uk/cf_images/button_rvc.png]<
http://www.rvc.ac.uk> [
http://www.rvc.ac.uk/cf_images/button_twitter.png] <
http://twitter.com/RoyalVetCollege> [
http://www.rvc.ac.uk/cf_images/button_facebook.png] <
http://www.facebook.com/theRVC>
This message, together with any attachments, is intended for the stated addressee(s) only and may contain privileged or confidential information. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Royal Veterinary College (RVC). If you are not the intended recipient, please notify the sender and be advised that you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited. Unless stated expressly in this email, this email does not create, form part of, or vary any contractual or unilateral obligation. Email communication cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, amended, lost, destroyed, incomplete or contain viruses. Therefore, we do not accept liability for any such matters or their consequences. Communication with us by email will be taken as acceptance of the risks inherent in doing so.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html