X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=charset%2Fcharconv.c;h=973d22c083ee0c15856422d9a77cba65705424af;hb=af4cc9d8e3bad71ac487fe9c224d55a806412aa0;hp=c5d3717b65cfa8c62281dc21e765cb077ebf83ad;hpb=2926a57424946281a78b9cc5b8098b1cff39e45a;p=libucw.git diff --git a/charset/charconv.c b/charset/charconv.c index c5d3717b..973d22c0 100644 --- a/charset/charconv.c +++ b/charset/charconv.c @@ -4,7 +4,7 @@ * (c) 1998--2001 Martin Mares * * This software may be freely distributed and used according to the terms - * of the GNU General Public License. + * of the GNU Lesser General Public License. */ #include "lib/lib.h" @@ -181,7 +181,7 @@ conv_to_utf8(struct conv_context *c) { if (d + 3 > de) goto dend; - *d++ = 0xc0 | (code >> 12); + *d++ = 0xe0 | (code >> 12); *d++ = 0x80 | ((code >> 6) & 0x3f); *d++ = 0x80 | (code & 0x3f); }