Login  Register

Re: Display accented letters in log window

Posted by CARL Philippe (LBP) on Aug 05, 2020; 8:28pm
URL: http://imagej.273.s1.nabble.com/Display-accented-letters-in-log-window-tp5023816p5023819.html

Dear Franky,
You can use the fromCharCode method:
https://imagej.nih.gov/ij/developer/macro/functions.html#fromCharCode
And thus use:
print(fromCharCode(0x00ea) + fromCharCode(0x00e9));
or
print(fromCharCode(0x00ea, 0x00e9));
My best regards,
Philippe

----- Mail original -----
De: "Franky" <[hidden email]>
À: "imagej" <[hidden email]>
Envoyé: Mercredi 5 Août 2020 21:58:08
Objet: Display accented letters in log window

Dear all,

How can I (simply) display accented characters like : é, è or à in the log
window with the print command? I would prefer to stay in the Imagej macro
language...

Thank you in advance



--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html