Posted by
CARL Philippe (LBP) on
URL: http://imagej.273.s1.nabble.com/write-e-e-a-in-macros-tp5008532p5008535.html
Dear Michael,
It seems the issue comes from the way the Script editor in Fiji (I haven't
tried the vanilla Imagej version) is saving these characters.
Indeed if I copy your macro in a Fiji Script editor window and then save the
macro into the plugin folder I get some strange characters when I launch it
then from the plugins window.
But if I save your macro directly into the plugin folder it launches fine.
Additionally if I open the 2 files within Notepad++ the file with the
"working" macro is saved in Dos\Windows - ANSI and the other one in UNIX -
ANSI as UTF-8.
I hope this helps.
My best regards,
Philippe
-----Message d'origine-----
De : Cammer, Michael [mailto:
[hidden email]]
Envoyé : mercredi 2 juillet 2014 15:36
À : '
[hidden email]'
Cc : 'Rasband, Wayne (NIH/NIMH) [E]'
Objet : RE: write é è à... in macros
That's odd. Works fine here.
===========================================================================
Michael Cammer, Microscopy Core & Dustin Lab , Skirball Institute, NYU
Langone Medical Center
Cell: 914-309-3270 Lab: 212-263-3208
http://ocs.med.nyu.edu/microscopy &
http://www.med.nyu.edu/skirball-lab/dustinlab/-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of
Philippe CARL
Sent: Wednesday, July 02, 2014 8:23 AM
To:
[hidden email]
Subject: write é è à... in macros
Dear all,
Being French (sorry about that), I would like to use sometimes characters
like é è ê ë à ï (I guess this is it.) within macros.
And as the use of such characters seem to be well implement within java or
javascript languages
(
http://www.charbase.com/00e9-unicode-latin-small-letter-e-with-acute) I get
quite strange behaviors in the macro language.
Indeed given that I always program the macros within a Fiji Script. window,
the characters get correctly show up if they are typed within a Script
window and then the macro launched from there (= a Script window).
But once the macro finalized, if I put then the macro inside the plugin
folder and launch it via the plugins menu, the characters don't come out
correctly.
Is there a way to fix this or a manual dealing about this (very sharp)
question?
Thanks a lot in advance for your help.
My best regards,
Philippe
Philippe CARL
Laboratoire de Biophotonique et Pharmacologie
UMR 7213 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 41 84
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html------------------------------------------------------------
This email message, including any attachments, is for the sole use of the
intended recipient(s) and may contain information that is proprietary,
confidential, and exempt from disclosure under applicable law. Any
unauthorized review, use, disclosure, or distribution is prohibited. If you
have received this email in error please notify the sender by return email
and delete the original message. Please note, the recipient should check
this email and any attachments for the presence of viruses. The organization
accepts no liability for any damage caused by any virus transmitted by this
email.
=================================
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html