June 09, 2005

如何讓Google AdSense支援繁體中文

Jan's Tech Blog中,講到竟然Engadget中文版可以讓Adsense for Content支援中文,之後看到其中的HTML碼,發現其繁體中文是直接將unicode的編碼數字寫上去,而Browser都支援這樣的文字,會將unicode的數字編碼轉成對應的文字語言,所以小弟也來試看看,透過這樣的轉換,是否能讓Google AdSense支援繁體中文,做了一個測試網頁,確實可以正常出現英文的Adsense。
將中文字轉成unicode的數字編碼的Java程式,使用方法:
1.先裝J2RE
2.下載數字編碼的Java程式
3.按開始->執行->開啟打上cmd->確定。
4.到達您放JAVA程式的目錄,輸入java unicode XXXX,XXX就是你要轉成數字編碼的中文字,例如D:\java unicode 我是白痴。就會出現我是白痴。

Posted by philipz at June 9, 2005 11:39 AM
歷史上的今天
Comments

有沒有 big5 的數字編碼Java程式

Posted by nick at June 9, 2005 02:19 PM

小弟寫的只有unicode的數字編碼,沒有big5的,網路上應該蠻多的,可以找看看。

Posted by philipz at June 9, 2005 03:10 PM

原本是這樣
不過若要編輯內容就十分不方便。

Posted by Jansen at June 9, 2005 06:31 PM

I was using b2e blogging software.
It change my chinese into unicode automatic

Posted by Michael Leung at June 6, 2006 07:13 PM

I have changed to Unicode in your way, but still can't get the adsense.

Why??

My webpage is http://mortgage.cashmain.com

Posted by Chup at June 21, 2006 01:30 PM

Dear Chup,

Maybe this way is already ineffective.

Posted by Philipz at June 21, 2006 02:00 PM
Post a comment













Remember personal info?