Ēriks Rudzītis Posted January 22, 2006 Report Share Posted January 22, 2006 Lasīju iepriekšējos topicus par šo tēmu, bet skaidrība vienalga nekāda! Man strtoupper un strtolower NESTRĀDĀ ar utf-8! Vai ir kāda IESPĒJA, lai tie strādātu! Lūdz, LŪDZU palīdziet, php eksperti! Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share Posted January 22, 2006 Loģiski ka nestrādā. Tās tikai ar tekošās lokāles (kas acīmredzot tev nav utf8) burtiem strādā Variants 1 kā atrisināt: str_replace(array('ā', 'ē', ...), array('Ā', 'Ē', ..), $text); Variants 2: mb_strtoupper() un mb_strtolower() Link to comment Share on other sites More sharing options...
Ēriks Rudzītis Posted January 22, 2006 Author Report Share Posted January 22, 2006 Kā to lokāli var nomainīt? Vai to ir iespējams nomainīt uz utf-8 kaut ka? Man ir Win XP Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share Posted January 22, 2006 Ja nemaldos, uz WinXP nav tādas utf8 lokāles, tāda ir tikai zem *nix'iem. Link to comment Share on other sites More sharing options...
Ēriks Rudzītis Posted January 22, 2006 Author Report Share Posted January 22, 2006 Nesapratu peedeejo vaardu, kur ir taa lokaale utf-8. Man peekshnji vairs garumziimes firefox neraada:( man tas mb_strtoupper() nestraadaa:( - neko nedara, bet erroru arii neraada...:( Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share Posted January 22, 2006 linux/unix/bsd/utml OS'i. error_reporting ir uz E_ALL uzlikts? display_errors ir uz 1 uzlikts? Link to comment Share on other sites More sharing options...
Ēriks Rudzītis Posted January 22, 2006 Author Report Share Posted January 22, 2006 Diemžēl man ir tikai xp, nav linuxa... Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share Posted January 22, 2006 Nu un kas vainas str_replace variantam? Link to comment Share on other sites More sharing options...
Ēriks Rudzītis Posted January 22, 2006 Author Report Share Posted January 22, 2006 Vaina tik tāda, ka neaizgāja...:( Uztaisīju tā, lai šīs funkcijas nebūtu jālieto! Liels paldies par visiem padomiem:) Super portāls!!! Link to comment Share on other sites More sharing options...
Klez Posted January 22, 2006 Report Share Posted January 22, 2006 padalies arii ar mums, kaa tu sho lietu atrisinaaji. apsliipeesim tavu variantu ja buus sakraiigs :) Link to comment Share on other sites More sharing options...
fassko Posted January 22, 2006 Report Share Posted January 22, 2006 Ja dati ir jātlasa no datu bāzēm (visbiežāk tā arī ir), tad labāk lietot datu bāzes funkcijas :) Link to comment Share on other sites More sharing options...
Recommended Posts