My guess is VC++ is either outputting UTF-8 or something like that and the locale can't figure it out, or the compiler just decided to skip those characters.
cmd.exe really sucks at anything other than pure ASCII, so you shouldn't expect much from it.
For the purpose of your program you could write Akman instead of Акмал. I know they are two totally different things but... Well depends how badly you need the characters to display. I myself have never got much else working than ASCII.