[Newbies] Unicode in string literals

Bert Freudenberg bert at freudenbergs.de
Tue May 8 12:15:37 UTC 2007


On May 8, 2007, at 4:47 , Thomas Fischer wrote:

>
> Hi list,
> is there a way to escape unicode characters in string literals like  
> '\u2013'
> for a enDash?

No. The plan is to simply embed them in the string rather than  
changing the literal syntax. Works on some platforms (like on the Mac  
with wide fonts installed) but not in general yet.

You could add a message #u like

	'\u2013' u

that does the unescaping.

- Bert -




More information about the Beginners mailing list