2009-02-03

mailto 於utf-8的亂碼問題解決方案

先將中文轉為big5,在用rawurlencode轉為rawurl code就能正常顯示了
但是特殊字如:喆,堃等還是會變成 ?(問號)

<a href="mailto:xxx@gmail.com?subject=<?php echo rawurlencode(mb_convert_encoding('utf-8中文標題修正', 'big5', 'utf-8'))?>">
email
</a>




<a href="mailto:xxx@gmail.com?subject=<?php echo rawurlencode(mb_convert_encoding('utf-8中文標題修正', 'big5', 'utf-8'))?>&body=<?php echo rawurlencode(mb_convert_encoding("utf-8內容內容內容內容\n\n\n內容內容\n內容內容\n內容內容", 'big5', 'utf-8'))?>">
email含內文
</a>





參考:Ian 懶惰蟲筆記: mailto 應用 subject 參數中文編碼問題

2009-01-17

專門收集Flash loading的網站

http://www.prettyloaded.com/

2009-01-04

因為一個無法辨識的問題.windows無法顯示windows防火牆設定值

resetfireware.reg

Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess]"DependOnGroup"=hex(7):00,00"DependOnService"=hex(7):4e,00,65,00,74,00,6d,00,61,00,6e,00,00,00,57,00,69,00,\6e,00,4d,00,67,00,6d,00,74,00,00,00,00,00"Description"="為您的家用網路或小型辦公室網路提供網路位址轉譯、定址及名稱解析服務和/或防止干擾的服務。""DisplayName"="Windows Firewall/Internet Connection Sharing (ICS)""ErrorControl"=dword:00000001"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00"ObjectName"="LocalSystem""Start"=dword:00000002"Type"=dword:00000020[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]"Epoch"=dword:00002cd0[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters]"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\69,00,70,00,6e,00,61,00,74,00,68,00,6c,00,70,00,2e,00,64,00,6c,00,6c,00,00,\00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications\List]"%windir%\\system32\\sessmgr.exe"="%windir%\\system32\\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List]"%windir%\\system32\\sessmgr.exe"="%windir%\\system32\\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Setup]"ServiceUpgrade"=dword:00000001[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Setup\InterfacesUnfirewalledAtUpdate]"All"=dword:00000001[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Enum]"0"="Root\\LEGACY_SHAREDACCESS\\0000""Count"=dword:00000001"NextInstance"=dword:00000001


參考連結:http://forum.linex.game.tw/archive/index.php/t-3999.html