johanes Posted May 6, 2004 Report Share Posted May 6, 2004 Ne varu saprats kā pēc nevar dabūt latviešu burtus. Esmu meiģinājis visādus variantus, gan saglabājot failu encodingā utf-8, bet nestrādā. Var būt kāds zin kā wapā dabūt lt. burtus??? Tā ir galva: <script language = "php"> echo "<?xml version=\"1.0\"?>"; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; </script> ArI pats php: <?php header("Content-type: text/vnd.wap.wml; encoding=utf-8"); include("headerwml.php"); echo "<wml>"; include("template.php"); echo "<card id=\"Piemers\" title=\"piemers\">"; echo "<p align=\"center\">"; echo "<strong>āēīūķš............. </strong>"; print "</card></wml>\n"; ?> Link to comment Share on other sites More sharing options...
Venom Posted May 7, 2004 Report Share Posted May 7, 2004 header("Content-type: text/vnd.wap.wml; encoding=utf-8"); nedomāju, ka WAP pārlūki ir tik gudri, lai HTTP pieprasījuma vidū nomainīt iekšējo encodingu. raksti vien ķipa "<meta ... encoding=utf-8" vai mobilais uztver "unicode", vai arī "utf-8" (ar latīniski no 00 apcirtām vērtībām)? unicode!=utf-8!=utf-16 Link to comment Share on other sites More sharing options...
Recommended Posts