mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
2003-03-a30 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize a bit. (#107427, Noah Lewitt)
This commit is contained in:
parent
93681235dd
commit
cb0e4de11c
@ -1,5 +1,8 @@
|
|||||||
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
|
||||||
|
a bit. (#107427, Noah Lewitt)
|
||||||
|
|
||||||
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
||||||
(#104738, Hidetoshi Tajima)
|
(#104738, Hidetoshi Tajima)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
|
||||||
|
a bit. (#107427, Noah Lewitt)
|
||||||
|
|
||||||
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
||||||
(#104738, Hidetoshi Tajima)
|
(#104738, Hidetoshi Tajima)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
|
||||||
|
a bit. (#107427, Noah Lewitt)
|
||||||
|
|
||||||
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
||||||
(#104738, Hidetoshi Tajima)
|
(#104738, Hidetoshi Tajima)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
|
||||||
|
a bit. (#107427, Noah Lewitt)
|
||||||
|
|
||||||
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
||||||
(#104738, Hidetoshi Tajima)
|
(#104738, Hidetoshi Tajima)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
|
||||||
|
a bit. (#107427, Noah Lewitt)
|
||||||
|
|
||||||
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
||||||
(#104738, Hidetoshi Tajima)
|
(#104738, Hidetoshi Tajima)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
2003-03-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
|
||||||
|
a bit. (#107427, Noah Lewitt)
|
||||||
|
|
||||||
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
|
||||||
(#104738, Hidetoshi Tajima)
|
(#104738, Hidetoshi Tajima)
|
||||||
|
|
||||||
|
@ -97,8 +97,9 @@
|
|||||||
|
|
||||||
#define UNICODE_VALID(Char) \
|
#define UNICODE_VALID(Char) \
|
||||||
((Char) < 0x110000 && \
|
((Char) < 0x110000 && \
|
||||||
((Char) < 0xD800 || (Char) >= 0xE000) && \
|
(((Char) & 0xFFFFF800) != 0xD800) && \
|
||||||
(Char) != 0xFFFE && (Char) != 0xFFFF)
|
((Char) < 0xFDD0 || (Char) > 0xFDEF) && \
|
||||||
|
((Char) & 0xFFFF) != 0xFFFF)
|
||||||
|
|
||||||
|
|
||||||
static const gchar utf8_skip_data[256] = {
|
static const gchar utf8_skip_data[256] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user