SkyD Posted May 4, 2006 Report Share Posted May 4, 2006 Man ir PHP expert Editor, un kompim uzliekot RU valodu, rakstot ieksh PHP editoraa, tie krievu burti paartaisaas par kjeburiem. Kā, lai normāli pārtulko, un, lai lapaa nebuutu nekaadi kjeburi, kāds encoding vajadziigs? Link to comment Share on other sites More sharing options...
Klez Posted May 4, 2006 Report Share Posted May 4, 2006 utf-8 es raxtu ar notepad-2, uzlieku failam utf-8 un viss chikiniekaa :) Link to comment Share on other sites More sharing options...
SkyD Posted May 4, 2006 Author Report Share Posted May 4, 2006 (edited) Ok. Jameiģina, ceru uz izdošanos.:) edit: izmeigjinaaju. Nesanaaca. -> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> Ierakstu ru.val failaa pa krieviski, viss tur ok. Smuki var salasīt, bet njehujaa lapaa neraadaas. Lapaa ir: Š“Š»Š°Š²Š½Š°Ń¸ Edited May 4, 2006 by SkyD Link to comment Share on other sites More sharing options...
Klez Posted May 4, 2006 Report Share Posted May 4, 2006 ceru ka buus skaidriiba ... Link to comment Share on other sites More sharing options...
SkyD Posted May 4, 2006 Author Report Share Posted May 4, 2006 Kas tev tas pa editoru? Link to comment Share on other sites More sharing options...
bubu Posted May 4, 2006 Report Share Posted May 4, 2006 notepad2 Link to comment Share on other sites More sharing options...
SkyD Posted May 4, 2006 Author Report Share Posted May 4, 2006 (edited) Pirmā dzirdēšana pa tādu. Es laikam vislaik pieturējies pie vecajām lietām.:) Edited May 4, 2006 by SkyD Link to comment Share on other sites More sharing options...
SkyD Posted May 4, 2006 Author Report Share Posted May 4, 2006 Nu tā. Man dereeja tas UTF-8 with Signature. Ieejot caur browzeri tajaa ru.val failaa, viss smuki - krieviski. Savukārt, tas fails ir inkludeets iekšā index.php failā, un tur vinjsh negrib raadiit taa smuki to krievisko tekstu. Ir man šitas: <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> Un, ko tas UTF-8 with Signature noziimee>?? Link to comment Share on other sites More sharing options...
john.brown Posted May 4, 2006 Report Share Posted May 4, 2006 ja tev expert editor 3.3, tad utf-8 viņam nav. Tad lapai jāliek windows-1251. expert editoram 4.0b ir normāls utf-8 Link to comment Share on other sites More sharing options...
bubu Posted May 4, 2006 Report Share Posted May 4, 2006 UTF-8 With signature ir tas pats, kas parasts UTF-8 vienīgi ar papildus maģisko 3-baitu headeri faila sākumā. Sīkāk lasi wikipēdijā. Link to comment Share on other sites More sharing options...
andrisp Posted May 4, 2006 Report Share Posted May 4, 2006 labāk mēģini glabāt bez tā signature (vai BOM).. es iesaku izmantot RapidPHP 2006... man liekas ļoti labs, it sevišķi kopš jaunā 2006 versija atbalsta utf8.. vienīgais - maksas produkts. Link to comment Share on other sites More sharing options...
SkyD Posted May 5, 2006 Author Report Share Posted May 5, 2006 Uzliku to UTF-8 kaa defaulto kodeejumu. Krieviski parādijās, bet latviskajiem burtiem ar garumzīmēm ir kjeburi. Fonts moška neder? Ir man Tahoma, un Verdana.. Link to comment Share on other sites More sharing options...
Klez Posted May 5, 2006 Report Share Posted May 5, 2006 fonts jebkaads, visiem failiem vaig utf-8 un veel arii <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> un tad vari kaut kiiniski rakstiit, visam jaraadas normaali. rekur: http://popular.lv/encoding.php tur ir latviski, krieviski, norveegiski vaaciski ... viss straadaa :) http://popular.lv/encoding.zip - ja vaig sourci Link to comment Share on other sites More sharing options...
SkyD Posted May 5, 2006 Author Report Share Posted May 5, 2006 (edited) Nu uzrakstot index.php failā ar garumzīmēm, tad viss ok. Bet ir fails lv.php -> tur iekshaa ir tulkojums -> $v['galvena']='Galvenā'; Un tas fails ir inkludots iekš index.php, un tās garumzīmes vnk nav. lv.php ieliku arī to UTF-8, bet neiet. edit: viss ok. Edited May 5, 2006 by SkyD Link to comment Share on other sites More sharing options...
Recommended Posts