Author Topic: You Are Screwed.  (Read 152 times)


  • Hero Member
  • *****
  • Posts: 966
    • View Profile
You Are Screwed.
« on: September 14, 2022, 05:17:27 PM »
Here' a Raymond Chen addendum to the warnings added to the latest version of the BCX Documentation.

Keep your eye on the code page: Is this string CP_ACP or UTF-8?


  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
    • View Profile
Re: You Are Screwed.
« Reply #1 on: September 14, 2022, 08:02:40 PM »
And if you're still not fully confused, this will help ...

Until recently, Windows has emphasized "Unicode" -W variants over -A APIs. However, recent releases have used the ANSI code page and -A APIs as a means to introduce UTF-8 support to apps. If the ANSI code page is configured for UTF-8, -A APIs typically operate in UTF-8. This model has the benefit of supporting existing code built with -A APIs without any code changes.