Creator13 Posted February 18, 2010 Share Posted February 18, 2010 Ahojte...mam nahodenu slovencinu, ale ked chcem dopisat do jednotlivych modulov vlastny text, tak mi znaky s diakritikou nezobrazuje spravne...poradil by niekto, kde mam zmenit kodovanie, aby diakritiku zobrazovalo spravne? Diky Link to comment Share on other sites More sharing options...
Caleydon Posted February 20, 2010 Share Posted February 20, 2010 Pri ukladani sablon nastav kodovanie suboru na UTF-8. Link to comment Share on other sites More sharing options...
joei Posted March 16, 2010 Share Posted March 16, 2010 Caleydon, a kde sa nastavuje to kodovanie suboru ? Dik za odpoved. Link to comment Share on other sites More sharing options...
Caleydon Posted March 16, 2010 Share Posted March 16, 2010 Podla toho, aky program na editaciu suboru pouzivas. Neexistuje univerzalny popis sposobu zmeny kodovania suboru. Link to comment Share on other sites More sharing options...
shoper Posted March 17, 2010 Share Posted March 17, 2010 Caleydon, a kde sa nastavuje to kodovanie suboru ? Dik za odpoved.Najlepšie je na to používať PSPad - je free. Link to comment Share on other sites More sharing options...
Caleydon Posted March 17, 2010 Share Posted March 17, 2010 @shoper: to je v poriadku. Ked vsak clovek otvori subor ktory nie je v utf-8 a ulozi ho, moze mat aj PSPad, neulozi sa mu automaticky do utf-8. Preto nech joei hlada vo svojom editore funkciu zmeny kodovania suboru pred tym, ako ho po editacii uklada. Existuju dokonca aj utilitky, ktore sluzia na konverziu kodovania. Cez Google su lahko vyhladatelne. Link to comment Share on other sites More sharing options...
joei Posted March 21, 2010 Share Posted March 21, 2010 vdaka chalani, nakoniec som si stiahol ten PSPad a ten mi pomohol. To co som potreboval mi cez to funguje. Ale cenim si rady aj Calyedona, vidno ze tomu rozumie. este raz dik obom... Link to comment Share on other sites More sharing options...
Creator13 Posted June 7, 2010 Author Share Posted June 7, 2010 Problém som tiež vyriešil s pspadom....ale mam este jeden problem, polozky, ktore vlozim v administracii sa mi sici zobrazia spravne, ale pri zobrazeni zdrojového kodu mi ukazujem zas iba necitatelne znaky namiesto spravnych znakov s diakritikou...napr á a podobne. Link to comment Share on other sites More sharing options...
Caleydon Posted June 7, 2010 Share Posted June 7, 2010 Odstránenie entit zo zdrojového kódusúbor: /classes/Tools.phpriadok: 314 return htmlentities($string, $type, 'utf-8'); zmenit na return htmlspecialchars($string, $type, 'utf-8'); súbor: /tools/smarty/plugins/modifier.escape.phpriadok: 29 case 'htmlall': return htmlentities($string, ENT_QUOTES, $char_set); zmeniť na case 'htmlall': return htmlspecialchars($string, ENT_QUOTES, $char_set); Link to comment Share on other sites More sharing options...
Creator13 Posted June 7, 2010 Author Share Posted June 7, 2010 Dakujem, toto by som sam urcite nezvladol...diky za kopu usetreneho casu Link to comment Share on other sites More sharing options...
Caleydon Posted June 7, 2010 Share Posted June 7, 2010 Ale zvladol, pretoze tento navod je na tomto fore publikovany milion krat. Staci hladat. Link to comment Share on other sites More sharing options...
archangelsk Posted May 4, 2011 Share Posted May 4, 2011 len rychla otazocka. Toto riesi aj problem s kontaktnym formularom? Tam ked mi niekto pise po slovensky s diakritikou dostanem email s cudnymi znakmi. Diky Peter Link to comment Share on other sites More sharing options...
Caleydon Posted May 4, 2011 Share Posted May 4, 2011 len rychla otazocka. Toto riesi aj problem s kontaktnym formularom? Tam ked mi niekto pise po slovensky s diakritikou dostanem email s cudnymi znakmi. Diky Peter Skus popatrat v nastaveniach kodovania tvojho emailoveho klienta. Otestuj posielanie emailu na konta na roznych e-malovych sluzbach, ci vsade pride nekorektny e-mail. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now