dAivEd Posted July 14, 2008 Report 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">
andrisp Posted July 14, 2008 Report Posted July 14, 2008 Dati nāk no datubāzes ? Un nevis BOOM, bet BOM. :)
dAivEd Posted July 14, 2008 Author Report 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
mounkuls Posted July 15, 2008 Report 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.
Paulinjsh Posted July 15, 2008 Report Posted July 15, 2008 pašā sākumā ieliec: header('Content-Type: text/html; charset=utf-8');
dAivEd Posted July 15, 2008 Author Report 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
andrisp Posted July 15, 2008 Report 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) ?
Recommended Posts