src/winsup/cygwin ChangeLog
Wed Sep 23 11:31:00 GMT 2009

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2009-09-23 11:31:00

Modified files:
	winsup/cygwin  : ChangeLog 

Log message:
	* (sys_cp_wcstombs): Convert lone surrogate pair
	second halves to unambiguous ASCII SO sequence.  When converting
	chars invalid in current codepage to ASCII SO sequence, make
	sure to check for surrogate pair second half only if ct least
	one wide characters is left.  Decrement nwc if valid second half has
	been converted.
	(sys_cp_mbstowcs): Improve ASCII SO handling.  Never break from loop
	if invalid character has been found.  Recognize ASCII SO sequence
	representing originally invalid mulitbyte char converted into a
	lone surrogate pair second half.  Convert accordingly.


More information about the Cygwin-cvs mailing list