nekonezinu Posted July 9, 2008 Report Share Posted July 9, 2008 Nevaru datubaze ielikt krievu burtus visas tabulas un db ir utf8_bin faila enkodings ansi, ja uzlieku faila enkodingu utf8 nekas nemainas. Ieliktais tekts radas ka keburi! Ka var var labot so problemu!? Link to comment Share on other sites More sharing options...
cucumber Posted July 9, 2008 Report Share Posted July 9, 2008 kur isti radas? db - skaties encoding kaut kur nav isti Link to comment Share on other sites More sharing options...
nekonezinu Posted July 9, 2008 Author Report Share Posted July 9, 2008 bet uz utf8_bin vajadzetu but ru burtiem es domaju ka ar failu kaut kas nav kartibaa Link to comment Share on other sites More sharing options...
marcis Posted July 9, 2008 Report Share Posted July 9, 2008 Un no kurienes dati tiek ievadīti datubāzē? Tā arī ir vainīgā lieta, visdrīzāk. Link to comment Share on other sites More sharing options...
nekonezinu Posted July 9, 2008 Author Report Share Posted July 9, 2008 no post meginaju - keburi bez post -keburi Link to comment Share on other sites More sharing options...
andrisp Posted July 9, 2008 Report Share Posted July 9, 2008 "no post" - no formas ? kādā enkodingā pārlūks rāda lapu, kur ir forma ? kā tas ir - bez post ? Link to comment Share on other sites More sharing options...
nekonezinu Posted July 9, 2008 Author Report Share Posted July 9, 2008 (edited) bez post - $aa = "зеркала"; ar post - faila enkodings ansi, parlukam windows-1251 ar post 2 - faila enkodings ansi, parlukam nekads paradit parasti tekstu strada ja tikai ir failam enkodings utf8 bet ja ir ansi tad to tekstu rada tikai tad ja tas ir nolasits no faila Edited July 9, 2008 by nekonezinu Link to comment Share on other sites More sharing options...
cucumber Posted July 9, 2008 Report Share Posted July 9, 2008 uzliec saitam encodingu utf8 un faila encodingu ari utf8 Link to comment Share on other sites More sharing options...
andrisp Posted July 9, 2008 Report Share Posted July 9, 2008 parlukam nekads Nu - tas nemaz nebūtu iespējams. Ja arī nenorādi enkodingu iekš HTML, tad pārlūks tāpat fallbackojas uz kādu defaulto enkodingu (bieži mēģina uzminēt, kas par enkodingu lapā izmantots) Link to comment Share on other sites More sharing options...
nekonezinu Posted July 9, 2008 Author Report Share Posted July 9, 2008 kapec man jaliek saitam enkodingu , ja netiek izvadits neviens ru vards man vajag lai tik liktu ru tekstu datubazee bez post Link to comment Share on other sites More sharing options...
codez Posted July 10, 2008 Report Share Posted July 10, 2008 Pamēģini: http://lv2.php.net/mysql_set_charset mysql_set_charset('utf8',$link); Link to comment Share on other sites More sharing options...
andrisp Posted July 10, 2008 Report Share Posted July 10, 2008 nekonezinu, bet tu saproti, ka formā, ko attēlo pārlūks, kad rakstīsi tekstu, tad tam tekstam čarsets būs tāds kā pašai lapai ? Un respektīvi teksts ar tādu čarsetu arī tiks nopostēts uz skriptu ? PS. Tas mysql_set_charset ir tieši tas pats, kas set names. Link to comment Share on other sites More sharing options...
nekonezinu Posted July 10, 2008 Author Report Share Posted July 10, 2008 formas lapaa ru raada tikai tad ja ir <META http-equiv="content-type" content="text/html; charset=windows-1251"> vai ari vispar nav siis rindas Link to comment Share on other sites More sharing options...
nekonezinu Posted July 10, 2008 Author Report Share Posted July 10, 2008 aizgaja kad nonemu to rindu un uzliku mysql_set_charset, paldies visiem! Link to comment Share on other sites More sharing options...
nekonezinu Posted July 10, 2008 Author Report Share Posted July 10, 2008 pec datora restarta kaut kas notika un vairs nevaru atkal ielikt ru burtus Link to comment Share on other sites More sharing options...
Recommended Posts