Windows: Add WM_CHAR input support (not used for anything yet).

Some unicode cleanup.