Hello,
What is the encoding for the tick mark?.. I thought it was Encodings.utf8.chr(251)
Thanks.
Lennox
Hello,
What is the encoding for the tick mark?.. I thought it was Encodings.utf8.chr(251)
Thanks.
Lennox
If by tick mark, you mean check mark, here is what the character viewer in OS X gives
?
CHECK MARK
Unicode: U+2713, UTF-8: E2 9C 93
Thanks Harrie, but how is that written in a string?
g.drawstring Encodings.U+2713 …
Lennox
&u2713
Just like you had but change the 251 to &U2713
Thanks Eli and Harrie
Encodings.utf8.chr(&u2713) does not compile but &u2713 compiles.
Thanks again.
Lennox
Encodings.utf8.chr(&h2713)
Thanks Eli,
That works too.
Lennox
Why not just type
s = "?"
The code editor does use UTF8. This should be much easier…
Thanks but it is being used in a print routine … g.drawstring Encodings.utf8.chr(&h2713) …
Lennox
g.drawstring "?"