C++ ifstream and “umlauts”
问题 I am having an issue with "umlauts" (letters ä, ü, ö, ...) and ifstream in C++. I use curl to download an html page and ifstream to read in the downloaded file line by line and parse some data out of it. This goes well until I have a line like one of the following: te="Olimpija Laibach - Tromsö"; te="Burghausen - Münster"; My code parses these lines and outputs it as the following: Olimpija Laibach vs. Troms? Burghausen vs. M?nster Things like outputting umlauts directly from the code work: