Protected: Wii

There is no excerpt because this is a protected post.

wii iso 檔大小判斷

4,699,979,776 bytes -> 直接燒 4,700,012,544 bytes -> 也可直接燒出來, 不需轉檔 4,736,698,368 bytes -> 要轉檔

刪掉 table 內全部的資料 – 心得

innodb 用 truncate table_name — 比較快 , truncate 完最好 restart mysql , 因為資料可能還存在 memory 裡 , 為啥會這樣我也不知道myisam (senna) 用 delete from table_name  — 比較快

[C CODE] BIG5 (ascii) to UTF-8 轉碼 sample code – use iconv , libiconv

#include “iconv.h” #define MAX_STRING_LEN 10*1024 char tmp[MAX_STRING_LEN]; char p2[MAX_STRING_LEN]; iconv_t cd; int v1 , v2; char *sin , *sout; cd = iconv_open(“utf-8″,”big5″); if (cd==0) return -1; // —-> LOOP sin=p2; sout=tmp; v1=strlen(p2)+1; v2=MAX_STRING_LEN; if ( !iconv(cd,&sin,&v1,&sout,&v2) ) strcpy(dat[26],tmp); else strcpy(dat[26],”Error”);…