title: Using WideCharToMultiByte with Codepage 1258 (Vietnamese)
body: <p>I am trying to convert a wide char string to Vietnamese ANSI (CP 1258), and for some reason half of the diacritics are wrong. I did some research and unearthed this: <a href="http://www.siao2.com/2005/04/19/409566.aspx" rel="nofollow">http://www.siao2.com/2005/04/19/409566.aspx</a> and this: <a href="http://www.siao2.com/2005/08/27/457224.aspx" rel="nofollow">http://www.siao2.com/2005/08/27/457224.aspx</a>, which kind of confirm my suspicion that this is a special case. I added the <strong>WC_COMPOSITECHECK</strong> flag, but it does not help. </p>
  
  <p>What I don't understand is why it is different from Thai, which also has this kind of multilayered diacritics. Thai worked just fine for me. Is there any kind of secret handshake I must use? </p>