mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Remove manual UTF-8 -> Latin1 conversion for stuff fed to g_print.
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for stuff fed to g_print.
This commit is contained in:
parent
e7d925595c
commit
0dac3e9e49
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
stuff fed to g_print.
|
||||
|
||||
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
|
||||
|
@ -68,9 +68,10 @@ match_type_name (GMatchType match_type)
|
||||
}
|
||||
}
|
||||
|
||||
/* this leakes memory, but we don't care */
|
||||
|
||||
#define utf8(str) g_convert (str, -1, "Latin1", "UTF-8", NULL, NULL, NULL)
|
||||
/* This leakes memory, but we don't care. The utf8 macro used to convert utf8
|
||||
back to Latin1 for feeding it to g_print. As of 2.0.1, g_print expects utf8,
|
||||
so this is no longer necessary */
|
||||
#define utf8(str) str
|
||||
#define latin1(str) g_convert (str, -1, "UTF-8", "Latin1", NULL, NULL, NULL)
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user