glib r5339 - in trunk: . glib



Author: tml
Date: 2007-02-17 08:51:12 +0000 (Sat, 17 Feb 2007)
New Revision: 5339
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5339&view=rev

Modified:
   trunk/ChangeLog
   trunk/glib/gdate.c
Log:
2007-02-17  Tor Lillqvist  <tml novell com>

	* glib/gdate.c (win32_strftime_helper): New Win32-only
	function. Use the wide character Win32 API to do the work of
	strftime(): GetThreadLocale(), GetLocaleInfoW(), GetDateFormatW()
	and GetTimeFormatW().
	(g_date_strftime): On Windows use win32_strftime_helper()
	instead of strftime() to avoid codepage issues with strftime().
	Unfortunately using wcsftime() would not help either. (#404832)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]