Jump to content
php.lv forumi

strtolower


element

Recommended Posts

peec funkcijas izsaukshanas netiek nekas atgriezts, tiek nojaukts viss paareejais izvads.

piem.

function funkcija($txt){
$txt = strtolower($txt);
//...
//cita teksta apstraade
//...
return $txt;
}

mirklii, kad iznjem strtolower, viss izvads atkal straadaa normaali. stringi tiek njemti no mysql cp-1257, izvadiiti kaa utf-8, kur papildus tiek apstraadaati un atkal izvadiiti citaa formaa. vai vareetu buut nojausma, kur ir probleema?

Link to comment
Share on other sites

ar upper f-ju arii tas pats.. hmm.. izproveesim mb_ variantu

 

edited: strange, kodeejumaa laikam kaut kur vaina, jo tagad proveeju citaa vietaa, kur strtolower aizgaaja, tachu mb_ variants nee. varbuut varat izskaidrot kaapeec taa (parasti) notiek?

Edited by element
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...