Archive from March, 2007
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 改成 [...]
idle 2
剛剛下樓去把六點多沒吃完的晚餐解決掉,順便泡杯咖啡上去後邊讀書邊品嘗。以下為很熟練的連貫動作: 抽出咖啡機的沖咖啡 tray 用水沖洗 5 秒 打開身後儲藏室拿出咖啡和濾紙 把濾紙放入 tray 用咖啡杯量水 把 tray 放回咖啡機中 把杯子內的水倒入咖啡機中 插入插頭 按下開關 然後就轉身去把剛剛拿出來的 Panda Express 盛到碗裡面好放到微波爐裡面加熱,邊聽著那熱水經過咖啡和濾紙滴下的聲音。慢著,咖啡跟濾紙?轉過去看桌上還擺著攪碎的咖啡,我… [...]
Drama
Life would be a lot easy without having to deal with drama that comes up once in a while. The [...]
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 [...]
Categories
- Bioinformatics (1)
- 當我們同宅一起 (12)
- Family (16)
- Footprints + Diary (150)
- 2005 Summer Road Trip (9)
- 2005 X'Mas Seattle (8)
- 2006 Summer (14)
- 2006 Winter Caribbean (1)
- College (Mesa) (2)
- College (UCSD) (23)
- High School (US) (2)
- Recreation (8)
- Fun+Humor (32)
- Interests (10)
- IT (98)
- recipe (1)
- Reflection (37)
- Server Diary (37)
- ffmud.net (1)
- lmj.tw (3)
- slicehost (1)
- tarotoast.com (11)
- twfamily.org (2)
- tworz.org (1)
- software (1)
