dAivEd Posted July 14, 2008 Report Share Posted July 14, 2008 Man stav UTF-8 encoding bez BOOM, un probleema taada ka dazhreiz garumzimju vieta ir ??????,bet pec lapas refresha viss okey, un tad atkal ??? ka kuro reizi Headers: <META http-equiv=Content-Type content="text/HTML; charset=utf-8"> Link to comment Share on other sites More sharing options...
andrisp Posted July 14, 2008 Report Share Posted July 14, 2008 Dati nāk no datubāzes ? Un nevis BOOM, bet BOM. :) Link to comment Share on other sites More sharing options...
dAivEd Posted July 14, 2008 Author Report Share Posted July 14, 2008 Tie dati kuri naak no db ar viniem viss Okey, bet tie kuri naak no faila, kuru saglabaju caur notepad++ / UTF8 without BOM, tiem dazhreiz ??? pec F5 dazhreiz norm, dazhreiz atkal ??? utt Link to comment Share on other sites More sharing options...
mounkuls Posted July 15, 2008 Report Share Posted July 15, 2008 Lai veiksmīgi saglabātu UTF-8 without BOM, vajag sekot līdz lai failā nav palicis kāds simbols citā kodējumā. Tā ir bieža parādība rediģētos failos no krievu skriptiem parasti:) Itkā komentārs kāds, bet visu nojauc ja tas krievu nav UTF-8. Tad saglabā cik gribi, nebūs vienalg UTF-8. Link to comment Share on other sites More sharing options...
Paulinjsh Posted July 15, 2008 Report Share Posted July 15, 2008 pašā sākumā ieliec: header('Content-Type: text/html; charset=utf-8'); Link to comment Share on other sites More sharing options...
dAivEd Posted July 15, 2008 Author Report Share Posted July 15, 2008 pašā sākumā ieliec: header('Content-Type: text/html; charset=utf-8'); Vienalga, bet jau kad no 10 reizes ieej lapa tad tikai Link to comment Share on other sites More sharing options...
andrisp Posted July 15, 2008 Report Share Posted July 15, 2008 Tajā reizēs, kad rādās nepareizi - kāds enkodings uzrādās pie Tools -> Page Info (Firefox) vai View -> Encoding (IE) ? Link to comment Share on other sites More sharing options...
Recommended Posts