Hi,
I have a string "Genérica", but while reading in php code, it get converted into "GenΘrica".
How can i get the same string i.e. "Genérica".
Please help me out.
Thanks,
Manoj
Special character in php
Moderator: General Moderators
Re: Special character in php
Use the correct character set.
-
indiavitus
- Forum Newbie
- Posts: 5
- Joined: Wed Sep 01, 2010 5:23 am
Re: Special character in php
what do you mean by that.
Re: Special character in php
The cause of this problem is usually that you are trying to decode (read) a string using a different character set than the one it was encoded in.
- DigitalMind
- Forum Contributor
- Posts: 152
- Joined: Mon Sep 27, 2010 2:27 am
- Location: Ukraine, Kharkov
Re: Special character in php
use unicode
Re: Special character in php
In what encoding do you have this string?indiavitus wrote:I have a string "Genérica",