Changeset 80bea5b for zephyr.c


Ignore:
Timestamp:
Apr 22, 2012, 7:09:35 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.9
Children:
ff637a7, e6e7842
Parents:
d6b8b50
git-author:
Anders Kaseorg <andersk@mit.edu> (04/22/12 19:09:29)
git-committer:
Anders Kaseorg <andersk@mit.edu> (04/22/12 19:09:35)
Message:
send_zephyr: Set z_charset = ZCHARSET_UTF_8

This allows X11 zwgc to display BarnOwl’s UTF-8 messages correctly,
since it doesn’t yet autodetect character sets of ZCHARSET_UNKNOWN
messages (http://zephyr.1ts.org/ticket/75).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    ra03a409 r80bea5b  
    716716  notice.z_kind=ACKED;
    717717  notice.z_port=0;
     718#ifdef ZCHARSET_UTF_8
     719  notice.z_charset = ZCHARSET_UTF_8;
     720#endif
    718721  notice.z_class=zstr(class);
    719722  notice.z_class_inst=zstr(instance);
Note: See TracChangeset for help on using the changeset viewer.