溢出字元

上篇討論到使用 Windows 內部的轉碼、轉字功能,事事不是那麼如意。Big5 碼並不是什麼字都有,Windows API 的轉碼功能遇到不能轉的字會變成「?」字元。
例如:

print ToANSI("陶喆的歌");

輸出 big5碼結果是:

陶?的歌

於是 Sean 再寫一個函式 ToHTML,輸出結果為:

陶喆的歌

完整的原始程式在 這裡

2 個回應:

IdSoS00* 提到...
此文章已被作者刪除。
匿名 提到...

I done the first problem already,
but this program must had a little bugs.
I think is the "cld" cannot updated,
because when over the night 12o'clock
the calendar's day was not to change,
and the clock day was changed.
Also press the "today" button is same not to change,
I hope can fix it very soon.

張貼意見