PDA

查看完整版本 : subdomain 網域用中文問題


mailking
2006-06-24, 03:32 PM
因為我遊覽剛好看到 chief大大 subdomain 用中文 所以想請教大家一下
chief大大ㄉ網址 (不好意思 貼出你網址 如果侵犯到你 請告知我 我立刻拿掉)
http://咖啡.420.tw
http://中和.網路開店.tw


以http://中和.網路開店.tw 來說
如何設定 中和 subdomain 為 punycode 編碼??

因為最近我再寫轉址程式 (我是php +mysql)
就碰到subdomain 中文問題
如果subdomain 用中文申請 會變成 http://中和.xxx.com.tw 而不是http://xn--fiq28m.xxx.com.tw
請問我該如何解決