keissfootball Posted November 10, 2005 Report Share Posted November 10, 2005 (edited) vēl viena nesaprotama situācija man radusies, ja piemēram man charsets visai lapai uzlikts kā windows-1257, a iekšā ziņas visas rādās kā: if ($id=="parmani"){ echo 'mani sauc jānis...' bet tagad man vajag arī kiriliskos burtus, nu tjipa: if ($id=="parmani"){ echo 'Меня зовут Янис...' Kā es to varu paveikt, ja charsets man ir windows-1257??? Edited November 10, 2005 by keissfootball Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 10, 2005 Report Share Posted November 10, 2005 (edited) @$###^% TEV SODIEN KAS? DRUMAIS TUPUMS? Tu tachu jau esi paskaidrojis 'Bradaataajam' kaa visus simbolus ateelot..... nu izmanto UTF-8 ......... edit : palaid 'bradaataajaa' lai visu sho forumu attelo windows-1257un apskaties rez....... Edited November 10, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
keissfootball Posted November 10, 2005 Author Report Share Posted November 10, 2005 (edited) a tur nebija nekas jāmaina tekstā ja es izmantoju utf-8??? nu tjipa pie kura charseta bija jāizmanto kkas līdzīgs šitam ī = & # 2 9 9 ; ??? Edited November 10, 2005 by keissfootball Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 10, 2005 Report Share Posted November 10, 2005 Jānomaina <meta http-equiv="Content-Type" content="text/html; charset=windows-1257" /> uz <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 10, 2005 Report Share Posted November 10, 2005 to Paulinjsh: taa nee cilveecinsh grib dabuut n kodeejumus paalizot haiderii windows-1257....... palsi tachu arii ko cilveeks veelaas/b] -------- Link to comment Share on other sites More sharing options...
php_Stopp Posted November 10, 2005 Report Share Posted November 10, 2005 (edited) header("Content-type: text/html;charset=utf-8"); un tad arī browser side-ā jānomaina charset, ja kaukādi dati tiek caur php kodu atkodēti ar utf-8, jo visādi speciālie simboli tiks pārveidoti par utf-8 ķeburiem (ne tikai tas, ka nevar izlasīt - arī diezko smuki viņi nav) Edited November 10, 2005 by php_Stopp Link to comment Share on other sites More sharing options...
Recommended Posts