Undeaded Posted October 9, 2008 Report Share Posted October 9, 2008 (edited) Man te ir jautajums ka var uztaisit laj Opera un Mozilla pati lasija charsetu un rada labi ka uzrakstits koda? Ja es spiedu pogu mainit valodu no krievu uz angļu (arī windows-1251) - viss ok, bet ja es mainišu uz UTF-8 latviešu valodu - tad burti kurie ar garumzimem bus neprareizi uzkrakstiti. Brauzeri Opera un Mozilla neredz ka iesledzas UTF-8 charset un doma ka ir tas pats windows-1251, bet koda viss ok rada (skript izmainija charsetu). <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Internet Explorera viss labi strada. Ja Opera pašam uzlikt UTF-8 charset - viss bus ok, bet atpakaļ uz krievu valodu bus tas pats un vajadzes atkal pašam mainit charset brauzeri. Mozilla tas pats bet vinja nesaglaba sajtu, kuram tu pats uzdodi charsetu brauzeri. Varbut kaut-ko var index.php uzrakstit? Meta? vaj ko citu... varbut vispar valodas skripta? Internet Explorera viss labi strada Edited October 10, 2008 by Undeaded Link to comment Share on other sites More sharing options...
cucumber Posted October 10, 2008 Report Share Posted October 10, 2008 Vai ta nav labak uzlikt shita to encodingu? + varetu but, ka pashus failus ari jaglaba utf8 kodejuma + var apskatities, kada encondiga serveris datus suta atpakal <?php header('Content-Type: text/html; charset=utf-8'); ?> Link to comment Share on other sites More sharing options...
Grey_Wolf Posted October 10, 2008 Report Share Posted October 10, 2008 <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body>..... nezinu kas tur var nestradaat, uzliec normali (stacionari) utf-8 , un aizmirsti par kodejuma problemam , normali straada visos brauzeros IE, FF, Opera, Safari ... + parliecinies ka tev uz brauzera stav atkjekseet AUTO , nevis kaads konkrets carsets... Link to comment Share on other sites More sharing options...
Wuu Posted October 10, 2008 Report Share Posted October 10, 2008 Un iztīri cache datus browserim! Link to comment Share on other sites More sharing options...
Java Posted October 10, 2008 Report Share Posted October 10, 2008 Un restartē datoru! Link to comment Share on other sites More sharing options...
andrisp Posted October 10, 2008 Report Share Posted October 10, 2008 Un pārinstalē! Bet ja tas nepalīdz - būs vien jāpērk jauns kompis! Link to comment Share on other sites More sharing options...
cucumber Posted October 10, 2008 Report Share Posted October 10, 2008 un topics tiek parverst par drazu (: Link to comment Share on other sites More sharing options...
Grey_Wolf Posted October 10, 2008 Report Share Posted October 10, 2008 (edited) un topics tiek parverst par drazu (: a tur vinjam vieta?? Ja jau cilveks Nemak vai Negrib izlasiit foruma sadaljas Temu tad ... --- PHP un PHP :) Šeit tiek apspriestas visas lietas, kuras saistītas ar jaunumiem iekš PHP -- problēmas, kuras ir sastopamas jaunajās versijās, trūkumi, iespējamie uzlabojumi, u.t.t. --- Edited October 10, 2008 by Grey_Wolf Link to comment Share on other sites More sharing options...
Undeaded Posted October 10, 2008 Author Report Share Posted October 10, 2008 Man .httaccessa bila uzlikts sen jau defaulta windows-1251 :DDDD Link to comment Share on other sites More sharing options...
Grey_Wolf Posted October 10, 2008 Report Share Posted October 10, 2008 bila uzlikts sen jau defaulta windows-1251 :DDDD Un ko tad raudi ???? Link to comment Share on other sites More sharing options...
Undeaded Posted October 11, 2008 Author Report Share Posted October 11, 2008 Es neraudu. Parasti esmu aizmirsis par to ka man .httaccessa bija sen 1251 defaulta uzlikts, tapec un neznaju kapec nestradāja. A to ko jus visi uzrakstijat - to es visu pats saprotu. Link to comment Share on other sites More sharing options...
Val Posted October 11, 2008 Report Share Posted October 11, 2008 a nafig tad vispār prasi?? Link to comment Share on other sites More sharing options...
Recommended Posts