Today, I discovered an issue with MinGW. The MinGW standard library handles very badly everything based on wchar_t, and some code inside the String class crashes (using directly wide strings (like L"hello") makes it work).
I've fixed it, but it will only be available in the next release.