Page 1 of 1

php error with phenotics words

PostPosted: Fri Feb 15, 2013 7:08 am
by sivasj
Actual character - ã

when I echo the above character, it is shown as '?' in mozilla and in chrome it is showed as ã.

Then I made the command like below

echo utf8_encode(ã);

The above one displays correctly in mozilla and in chrome it is showing as ã.

any solution ?

Re: php error with phenotics words

PostPosted: Mon Feb 25, 2013 5:33 am
by sivasj
The above letter can be converted to hex code? is it possible?

Re: php error with phenotics words

PostPosted: Mon Apr 15, 2013 4:06 am
by siva1039
I found a solution.

I used user agent to identify the browsers and then in chrome that special characters worked by just using echo command. In mozilla,I used utf8_encode command to print that character. I am using old php version and this is the reason I am getting that error. The problem is fixed by using utf8_encode command.

Re: php error with phenotics words

PostPosted: Thu Apr 25, 2013 2:05 pm
by ragh6049
if possible ple give a sample prog