v3rb0 Posted November 16, 2006 Report Share Posted November 16, 2006 nu cik var ņemties. http://paste.php.lv/4712 Link to comment Share on other sites More sharing options...
janisetnies Posted November 16, 2006 Author Report Share Posted November 16, 2006 paldies, viss notiek ;) gribējās jau pašam, biju tagad te mazliet jau kaut ko iesācis, bet nu nepublicēšu, lai paliek ;) Link to comment Share on other sites More sharing options...
janisetnies Posted January 9, 2007 Author Report Share Posted January 9, 2007 (edited) Piem�“rma es fails.txt failā ierakstu: "ā" un uzlieku uz serveri, kad atveru to no edit.php lapas (no pārlūkprogrammas IE vai Mozilla) man radas ķeburi, ierakstu tajā laukā blakus "ā" rāda normāli spiežu saglabāt, viss kārtībā aizeju izceļu no servera failu fails.txt un skatos man tur rāda: "ā ā ; " (tas ; bez atstarpes, liku atstarpi tād�“ļ, ka forums atpazīst šo simbolu) Tātad gribu, lai kad ieeju tajā edit.php (no pārlūkprogrammas IE vai Mozilla) man rāda parasto ā un kad ierakstu ā tad tajā fails.txt saglabātos kā ā nevis tas ķeburs! Kā to panākt? edit.php fails: http://paste.php.lv/4944 Kādas idejas? Edited January 9, 2007 by janisetnies Link to comment Share on other sites More sharing options...
andrisp Posted January 9, 2007 Report Share Posted January 9, 2007 iso-8859-1 nesatur lv specifiskos simbolus. Izmanto win-1257 (cp1257) vai utf-8 (ar uzsvaru uz utf-8). Link to comment Share on other sites More sharing options...
Val Posted January 9, 2007 Report Share Posted January 9, 2007 varbūt <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Link to comment Share on other sites More sharing options...
janisetnies Posted January 9, 2007 Author Report Share Posted January 9, 2007 ha sanāca tāds smieklīga problēma beigās, jo es meiģināju "utf-8" tikai nodzesu ari "charset=" nezinu kāpēc, bet nodzēsu, tagad pieliku atpakaļ viss strādā, PALDIES! Link to comment Share on other sites More sharing options...
Recommended Posts