PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hello,
I am trying to compare the unicode devangari string with users input. What I did was checking the constant values with user's input. It's not working with unicode input of devanagari but when I compare with english input it's working.
dibyendrah wrote:thank you all for your replies. But the Problem is that the unicode value was in &123456#; format so it couldn't t compare with user's input.
cheers,
Dibyendra
Do you *need* to have that comparison as entities? html_entity_decode() may help.