4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00
Corinna Vinschen 587b75f7bd * fhandler.h (class dev_console): Constify charset parameter of
str_to_con.
	* fhandler_console.cc (dev_console::con_to_str): Simplify.  Always
	default to the current internal locale.
	(dev_console::get_console_cp): Always use codepage 437 for alternate
	charset.
	(dev_console::str_to_con): Constify charset parameter.
	(fhandler_console::write_normal): Always use codepage 437 for alternate
	charset.  Otherwise always default to the current internal locale.
	Replace ASCII SO with ASCII CAN.
	* strfuncs.cc: Tweka comments according to below changes.
	(sys_cp_wcstombs): Constify charset parameter.  Convert all wchar_t
	values in the Unicode private use area U+F0xx to the singlebyte
	counterpart.  Drop special handling creating ASCII SO sequence from
	U+DCxx value.  Rearrange for performance.  Replace ASCII SO with
	ASCII CAN.
	(sys_cp_mbstowcs): Constify charset parameter.  Replace ASCII SO with
	ASCII CAN.  Drop special case for U+DCxx ASCII SO sequences.  Always
	create a replacement from the Unicode private use area U+F0xx for
	invalid byte values in a multibyte sequence.  Do the same for wchar_t
	values from the U+F0xx range to make them roundtrip safe.
	* wchar.h (sys_cp_wcstombs): Constify charset parameter.
	(sys_cp_mbstowcs): Ditto.
2009-09-28 12:10:32 +00:00
..
2009-09-26 21:01:10 +00:00
2009-01-21 17:14:39 +00:00
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2009-09-22 14:27:57 +00:00
2009-09-22 02:49:15 +00:00
2007-01-03 11:14:53 +00:00
2009-09-22 02:49:15 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-08-01 19:52:46 +00:00
2009-07-07 20:12:44 +00:00
2009-09-26 21:01:10 +00:00
2009-08-21 21:32:06 +00:00
2009-09-26 21:01:10 +00:00
2006-03-01 20:20:22 +00:00
2009-01-21 17:14:39 +00:00
2008-11-26 17:21:04 +00:00
2008-05-20 15:11:23 +00:00
2009-09-26 21:01:10 +00:00
2008-04-01 13:22:47 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2008-05-22 01:25:37 +00:00
2009-07-03 18:05:51 +00:00
2009-07-03 18:05:51 +00:00
2009-08-01 19:52:46 +00:00
2009-08-01 19:52:46 +00:00
2006-07-17 19:30:30 +00:00
2009-02-19 16:12:02 +00:00