From 7d9ab4e8bbc99150a6c6e1bba9913da381c45ddc Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Fri, 15 Nov 2019 21:52:17 +0000 Subject: Let's add some Emoji to the widget demo, but encoded in UTF-16 so Tcl 8.6.10 can handle it. Works at least on Windows. --- library/demos/unicodeout.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/demos/unicodeout.tcl b/library/demos/unicodeout.tcl index faa9f90..a8b5bbb 100644 --- a/library/demos/unicodeout.tcl +++ b/library/demos/unicodeout.tcl @@ -131,6 +131,8 @@ addSample $w Japanese \ addSample $w Korean "\uB300\uD55C\uBBFC\uAD6D\uC758 \uD55C\uAE00" addSample $w Russian \ "\u0420\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A" +addSample $w Emoji \ + "\uD83D\uDE00\uD83D\uDCA9\uD83D\uDC4D\uD83C\uDDF3\uD83C\uDDF1" ## We're done processing, so change things back to normal running... destroy $w.wait -- cgit v0.12