Guest JesusOnline Posted October 7, 2005 Report Share Posted October 7, 2005 Nu tad tā ... MySQL uz db ir saliksts ka viss notiekas cp1257_general_ci. ieš <head> <meta http-equiv="Content-Language" content="lv"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"> </head> ir štaa. Kad icluudoju php tad neraada garumzīmes. http.conf man ir piejuugts AddCharset WINDOWS-1257 .cp-1257 .win-1257 Kaukur shamaa forumaa maniju ka iekš to php ir jaaieraksta: SET CHARSET utf8 nu manā gadijumā SET CHARSET WINDOWS-1257 Mosh var dabuut zināmu ko konkreetaaku? Piem kaa tieshi tas jāraksta, kur? Link to comment Share on other sites More sharing options...
Delfins Posted October 7, 2005 Report Share Posted October 7, 2005 nez. vot tieši es no šitā izvairos. Lieto DB native režīmā - kad dati ir dati, nevis text ar konkrētu charsetu.. nu i nafig. a ar RAW datiem var visu ko darīt... Link to comment Share on other sites More sharing options...
Gizmo Posted October 13, 2005 Report Share Posted October 13, 2005 Man arī problēma - importeeju datubaazi kuraa tekstiem ir garumziimes, MySQL taas paarveidoja par ?ziimeem, to ta es veel dabuuju kaartiibaa, bet tagad kad datus pieprasu ar PHP tikuntaa raadaas ?ziimes, kautgan ir <META http-equiv=content-type content="text/html; charset=windows-1257"> Serveris nau mans, takaa neko tur paarkonfigureet nevaru, ko dariit? Mysql language: Latvian (lv-utf-8) MySQL kodējums: UTF-8 Unicode (utf8) MySQL konekcijas kārtošana: cp1257_bin kad lapā ieliku "charset=utf-8" izskatījās vēl drausmīgāk Link to comment Share on other sites More sharing options...
Analgiins Posted October 13, 2005 Report Share Posted October 13, 2005 SET NAMES WINDOWS-1257 nepaliidz? Link to comment Share on other sites More sharing options...
Gizmo Posted October 13, 2005 Report Share Posted October 13, 2005 ? Kur jaaraksta tas SET NAMES WINDOWS-1257 ? Link to comment Share on other sites More sharing options...
Analgiins Posted October 13, 2005 Report Share Posted October 13, 2005 tas ir querijs, kursh ir jaaizpildi pats pirmais tavaa kodaa Link to comment Share on other sites More sharing options...
Recommended Posts