Mintty, badly. The first test gives no hat (or I just can't see it). The second causes it to get stuck in heiroglyphs. The third doesn't work correctly either. It looks like it prints xyz correctly, then jumps to the second line on screen and then continues from there.
The "cygwin bash shell" which uses cmd.exe does the first test correctly but similarly fails on the others.