output in console apps

  • Thread starter Thread starter Vinny D
  • Start date Start date
V

Vinny D

hi folks,

We have an application that has used putc() to output to a console for a
long time (both single and multibyte chars). Since Vista we have found that
putc() no longer outputs multibyte chars. We have also tried equivalent code
that uses fwrite(), it fails in a similar manner.
small_test_putc.exe
LOCALE set to: C
putc char 0x8c8e:月

fwrite char 0x8c8e:月
Wrote 2 items

LOCALE set to: Japanese_Japan.932
putc char 0x8c8e:

fwrite char 0x8c8e:
Wrote 0 items


I recall this adventure producing data that putwc() also fails, ...

Are these failures defects? if not which portion of the VS 2005
documentation covers all of this?

thanks

Vinny
 
I see that this should have gone to "microsoft.public.vc.language", I just
posted it there, so please no yelling at me :)

Is there a way to remove this (I couldn't find any)?

Vinny
 
Back
Top