Bug#872778: U+1F618 is legal unicode

2017-08-24 Thread Thomas Dickey
On Thu, Aug 24, 2017 at 09:29:29AM +0200, Julien Cristau wrote:
> On 08/21/2017 08:47 AM, 積丹尼 Dan Jacobson wrote:
> > Package: xterm
> > Version: 330-1
> > 
> > I still see a white diamond with a question mark for
> > U+1F618 FACE THROWING A KISS
> > 
> I seem to remember that xterm doesn't handle code points past U+,
> unless something's changed in the last few years.

XLFD (bitmap) fonts are only 16 bits, but TrueType fonts are not.
xterm's used 32 bits internally for Unicode (with an option to
use 16-bits) for some time.  I added this option in 2009:

  --enable-16bit-charsenable 16-bit characters support

Enable wide-character support, but store only 16-bits for each wide
character.  Unicode values can be larger than 16-bits, up to 21-bits.
This uses less memory, but is less complete.  However, most languages
are covered by the 16-bit encoding.

Even if it only shows boxes..., select/paste should work, since that uses
the internal values.

-- 
Thomas E. Dickey 
http://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: Digital signature


Bug#872778: U+1F618 is legal unicode

2017-08-24 Thread Julien Cristau
On 08/21/2017 08:47 AM, 積丹尼 Dan Jacobson wrote:
> Package: xterm
> Version: 330-1
> 
> I still see a white diamond with a question mark for
> U+1F618 FACE THROWING A KISS
> 
I seem to remember that xterm doesn't handle code points past U+,
unless something's changed in the last few years.

Cheers,
Julien



Bug#872778: U+1F618 is legal unicode

2017-08-21 Thread Thomas Dickey
On Mon, Aug 21, 2017 at 02:47:02PM +0800, 積丹尼 Dan Jacobson wrote:
> Package: xterm
> Version: 330-1
> 
> I still see a white diamond with a question mark for
> U+1F618 FACE THROWING A KISS

sorry - I haven't gotten back to xterm, have been spending most of my time
in ncurses to prepare a new release.

-- 
Thomas E. Dickey 
http://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: Digital signature


Bug#872778: U+1F618 is legal unicode

2017-08-21 Thread 積丹尼 Dan Jacobson
Package: xterm
Version: 330-1

I still see a white diamond with a question mark for
U+1F618 FACE THROWING A KISS