Archive from March, 2007

No Thumbnail

Ajax 的 responseText 中文亂碼問題

剛剛在實驗 element.innerHTML = AJAX.responseText 時候碰到了中文亂碼問題,稍微找了一下,以下是最簡單的解法。 假設 AJAX.open('POST', 'cgi.php', true), 然後 cgi.php 要輸出中文的內容,那記得在輸出前先丟個 header: header('Content-Type:text/html;charset=big5'); 問題解決。 對付 responseXML 時候把 text/html 改成 [...]

Mar 30, 2007     1 Comment
Read More
No Thumbnail

idle 2

剛剛下樓去把六點多沒吃完的晚餐解決掉,順便泡杯咖啡上去後邊讀書邊品嘗。以下為很熟練的連貫動作: 抽出咖啡機的沖咖啡 tray 用水沖洗 5 秒 打開身後儲藏室拿出咖啡和濾紙 把濾紙放入 tray 用咖啡杯量水 把 tray 放回咖啡機中 把杯子內的水倒入咖啡機中 插入插頭 按下開關 然後就轉身去把剛剛拿出來的 Panda Express 盛到碗裡面好放到微波爐裡面加熱,邊聽著那熱水經過咖啡和濾紙滴下的聲音。慢著,咖啡跟濾紙?轉過去看桌上還擺著攪碎的咖啡,我… [...]

Mar 17, 2007     No Comments
Read More
No Thumbnail

頓號

Y+ 知識果然無奇不有,原來頓號打法根本很簡單。 ` ‘ 、取得成功 以前的打法真白癡,白癡到根本不想講出來 XD

Mar 16, 2007     No Comments
Read More
No Thumbnail

Drama

Life would be a lot easy without having to deal with drama that comes up once in a while. The [...]

Mar 15, 2007     No Comments
Read More
No Thumbnail

Logitech’s strategy to rip you off with Windows Vista

So, I have this Logitech QuickCam® Messenger™ that I bought last summer, it’s a dual pack combo so I can [...]

Mar 13, 2007     4 Comments
Read More