Benvenuto Posted October 20, 2004 Report Share Posted October 20, 2004 Gribu izveidot xhtml lapu prieksh mobilajiem telefoniem. Jautaajums ir kaadu enkodingu likt? UTF8? Man te viens palmu lietotaajs izteicaas, ka palmi UTF8 nemiil. Vai ir iespeejams izpatikt gan mobilajiem, gan palmiem? Kaadus browserus vispaar mobilie un palmi izmanto? Link to comment Share on other sites More sharing options...
Kaklz Posted October 21, 2004 Report Share Posted October 21, 2004 vai tik nebūs jāskatās uz headeriem, ko padod pats mobilais. Ja mobilajam ir accept-charset utf8, tad dod utf8, ja nee, tad padod teiksim translitu. Vareetu buut veiksmiigi. Link to comment Share on other sites More sharing options...
Venom Posted October 21, 2004 Report Share Posted October 21, 2004 bliez visu uff8-ņā, un, skatoties uz headeriem (apache_request_headers()), skaties kāds ir encoding un taisi $ecnoding=...;//tāds un tāds ob_start(); //šeit izvada visu wml lapu $wml=ob_get_clean(); echo iconv('UTF-8',$encoding.'//TRANSLIT',$tmp); flush(); jābūt php_iconv pieinstalētam Link to comment Share on other sites More sharing options...
Recommended Posts