الأحد، 5 يناير 2014

How to Upper Serbian letters, Č,Ć,Š,Đ,Ž in PHP

I got a problem to make upper letters in php.

I tried this function:

function strtouper_srbija($string) { $low=array("?" => "?", "?" => "?", "?" => "?","?" => "?","?" => "?"); return strtoupper(strtr($string,$low)); }

and tried to use with some POST data from html page,text filed,but no succes,so if you have solutions,will be fine..

Also, I found solution with CSS, with text-transform: uppercase;, but will be fine to have PHP example.


View the original article here

ليست هناك تعليقات:

إرسال تعليق