Robis Posted January 16, 2005 Report Share Posted January 16, 2005 Sveiki! Vai kads man varetu pateikt, kapec man MySQL datubaze ierakstitie latvieshu teksti atteloti weba utf-8 encodinga, latvieshu burtu vieta radas kaut kadi kvadrati? Sur tur pavid ari jautajuma zimes. Ka var pareizi organizet visu sho encodingu ar php+mysql+html = ka redzu weba! ? Link to comment Share on other sites More sharing options...
Klez Posted January 16, 2005 Report Share Posted January 16, 2005 vislabaak buutu, ja lapai, kuraa tev ir forma & uz kuru posteejas texti, ieliec encoding <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Link to comment Share on other sites More sharing options...
bubu Posted January 16, 2005 Report Share Posted January 16, 2005 vislabaak buutu, ja lapai, kuraa tev ir forma & uz kuru posteejas texti, ieliec encoding <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 12792[/snapback] Jocīgs neesi? Cilvēks tak saka UTF-8 nevis kautkādu iso-8859-1!! Tāpēc labāk skripta sākumā uzlikt: header('Content-Type: text/html; charset=UTF-8'); un html koda headā: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Link to comment Share on other sites More sharing options...
Robis Posted January 16, 2005 Author Report Share Posted January 16, 2005 Ne, tas diemzhel ir jau izdarits ar to klienta puses lapas encodingu! Web lapa encodeejas kaa naakas, tikai ir probleema taada, ka tos datus no datubaazes vinjsh raada kubikos, es nesaprotu kaapeec! Link to comment Share on other sites More sharing options...
Robis Posted January 16, 2005 Author Report Share Posted January 16, 2005 Respektivi, ar lapas encodingu viss ir kaartiibaa un arii parastos burtus vinjsh raada latvieshu, viss kaa naakas, bet ja njem no MySQL datubazes tos datus, tad vinjsh raada apmeeram shaadi: Щs ir pirmais jaunums! Щs ir tikai is teksts no Link to comment Share on other sites More sharing options...
bubu Posted January 16, 2005 Report Share Posted January 16, 2005 PHP/MySQL versija? Link to comment Share on other sites More sharing options...
Robis Posted January 16, 2005 Author Report Share Posted January 16, 2005 PHP/MySQL versija? 12801[/snapback] Atklaju, ka problema ir phpMyAdmin lapas encoding, ja to uzliek uz utf-8,kad ievieto datus, tiesa gan, komandlinku vieta radas keburi,bet toties var korekti saseivot! Bet ta ka man ir paredzets, ka datubazei datus pievienot caur web-lapu,kas bus utf-8 encodinga, tad laikam viss bus ok! Link to comment Share on other sites More sharing options...
Recommended Posts