nemec Posted October 2, 2005 Report Share Posted October 2, 2005 man datubaazee ir lauks varchar(64) utf8_general_ci kad es lieku tur simbolus ar php, piemeeram latvishu, tas ieraksta kjeburus.. ja ierakstu tur pa taisno latvieshu simbolus, tad visu normaali raadi datubaazee, kaa izvadu tos savaa lapaa, tad atkal kjeburi un jaut.ziimes... kas par sheize???? ko es aizmirsu?? kad man staaveeja latin-swedish, tad viss straadaaja, bet myskulaaa bija kjeburi, tagad es gribu lai nebuutu kjeburu arii tur Link to comment Share on other sites More sharing options...
bubu Posted October 2, 2005 Report Share Posted October 2, 2005 Vajag visās vietās izmantot vienu kodējumu, tad viss rādīsies vienādi. Link to comment Share on other sites More sharing options...
Analgiins Posted October 3, 2005 Report Share Posted October 3, 2005 Ja tev datu baazee staav utf8_general_ci, tad izpildi SET NAMES utf8; kaa pirmo vaicaajumu. Bet vispaar kaads tev charset staav HTML lapaa? Link to comment Share on other sites More sharing options...
nemec Posted October 3, 2005 Author Report Share Posted October 3, 2005 HTML lapaa un manos php fails ar kuriem njemos protams utf8, es tak kaa piemeeru mineeju latin-swedish. par taadu cirvi jau nevajag mani uzdod Link to comment Share on other sites More sharing options...
litt Posted October 3, 2005 Report Share Posted October 3, 2005 Man bija līdzīga problēma, bet to atrisināja SET CHARSET utf8 uzreiz pēc mysql_select_db() Link to comment Share on other sites More sharing options...
nemec Posted October 3, 2005 Author Report Share Posted October 3, 2005 nu tagad datubaazeee ?????? vitaam normaaali... Link to comment Share on other sites More sharing options...
nemec Posted October 3, 2005 Author Report Share Posted October 3, 2005 ja es ierakstu datubaazee ar roku viss straadaa... bet ja es ar mysql_query() iestipu kaadu tekstu tad ierakstaas jaut.ziimes. to tekstu es ar echo izvadu uz ekraana un tas normaals, bet nafik datubaazee neirakstaas???? Link to comment Share on other sites More sharing options...
Kristabs Posted October 3, 2005 Report Share Posted October 3, 2005 nu tak vienaadu charsetu uzliec gan aplikaacijai, gan DB Link to comment Share on other sites More sharing options...
nemec Posted October 4, 2005 Author Report Share Posted October 4, 2005 nu neiet nekas, kaut kur starp php un mysql laikam tas viss chakareejas?? varbuut mysql settingos kaut kas jaanomaina??? Link to comment Share on other sites More sharing options...
Recommended Posts