[問題] CString 含中文字,compiler如何處理?
Dear all:
CClientDC dc(this);
CString str = "abc上中下";
dc.TextOut( 0, 0, str );
編譯器: VC6
OS: WinXP
TextOut可以正確顯示英漢字,是因為compilier(?)or OS(?) or CString(?)
作了一些手法,可以正確秀出字來,它怎麼知道一次看1byte or 2bytes?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.124.180.15
推
10/31 21:31, , 1F
10/31 21:31, 1F
推
10/31 22:12, , 2F
10/31 22:12, 2F
推
10/31 22:38, , 3F
10/31 22:38, 3F
→
11/01 00:30, , 4F
11/01 00:30, 4F
討論串 (同標題文章)
以下文章回應了本文 (最舊先):
完整討論串 (本文為第 1 之 4 篇):