* also fixes CharLengthPChar() for non-BeOS by initialising the mbstate parameter passed to mbrlen() to 0 (otherwise its contents are interpreted as already valid, containing information about the current shiftstate etc) git-svn-id: trunk@16552 -