Closed johnolinda closed 5 years ago
This problem occurs by tcl/tk. This problem can be solve to 2 ways:
CFLAGS=-DTCL_UTF_MAX=6
--enable-unicode=ucs4
options. For your reference, i used build script is like this.# build.sh
export CFLAGS=-DTCL_UTF_MAX=6
tar xf tcl8.6.6-src.tar.gz
tar xf tk8.6.6-src.tar.gz
git clone https://github.com/python/cpython
cd tcl8.6.6/unix
./configure --enable-threads --enable-shared --enable-symbols --enable-64bit --enable-langinfo --enable-man-symlinks
make
sudo checkinstall
cd ../..
cd tk8.6.6/unix
./configure --enable-threads --enable-shared --enable-symbols --enable-64bit --enable-man-symlinks
make
sudo checkinstall
cd ../..
cd cpython
git checkout -b 2.7 remotes/origin/2.7
./configure --enable-shared --enable-optimizations --enable-ipv6 --enable-unicode=ucs4 --with-lto --with-signal-module --with-pth --with-wctype-functions --with-tcltk-includes=/usr/local/include/ --with-tcltk-libs=/usr/local/lib/
make
sudo checkinstall
Added feature that notify users of UCS-4 issue. It will prevent user confusion.
5371ed34952a7152a5f45df4091c7ce51e087b02...992a40c59eff3e0c1a62d45a90d91a412b501ada
When you have a note with an emoji character as part of the title (which is possible in the first-party clients) it produces this:
I'm not necessarily saying we need emoji support (mine was in there by accident) but I did want to make sure the error was noted in case it's an easy fix.