Indian Posted September 17, 2009 Report Share Posted September 17, 2009 Sveiki, Nesen vajadzēja uztaisīt skriptu kas aizstāj, piem., āēīō uz aeio. Kaut kas man ir gatavs, bet ir problēmas ar enkodingu. Mēģināju dažādus variantus, bet visu laiku rāda unknown symbolus. http://paste.php.lv/6989e7798ac58abc7b976ebade7417d1 paldies. Quote Link to comment Share on other sites More sharing options...
rausis Posted September 17, 2009 Report Share Posted September 17, 2009 (edited) http://lv.php.net/manual/en/function.iconv.php echo iconv('UTF-8', 'ASCII//TRANSLIT', 'āēīo'); Edited September 17, 2009 by rausis Quote Link to comment Share on other sites More sharing options...
Kemito Posted September 18, 2009 Report Share Posted September 18, 2009 Iespējams var izmantot pregmatch lai noteiktu vai ir vai nav latīņu burti? Quote Link to comment Share on other sites More sharing options...
Indian Posted September 18, 2009 Author Report Share Posted September 18, 2009 paldies Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.