Windows API: ANSI and Wide-Character Strings — Is it UTF8 or ASCII? UTF-16 or UCS-2 LE?

前端 未结 4 1600
深忆病人
深忆病人 2020-12-23 09:58

I\'m not quite pro with encodings, but here\'s what I think I know (though it may be wrong):

  1. ASCII is a 7-bit, fixed-length encoding, with the characters you c
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 10:20

    Wide strings used to be UCS-2. From Windows 2000, wide strings are UTF-16. Good to know if you need to maintain some old legacy system.

提交回复
热议问题