[Community Puzzle] Frame the picture

Problem solved: I have to call

setlocale(LC_ALL, “C.UTF-8”);

at the beginning of my code. I’m new to wide chars. Thanks for quick answer.