Jump to content

[SOLVED] help find this function :/


asmith

Recommended Posts

Hi,

 

its been a while I'm looking for this function where converts 'سلام' to 'سلام'

 

I thought it is htmlspecialchars but no success.

 

Actually I have 'سلام' and I need to convert it back to the arabic characters.

 

Any idea?

Link to comment
https://forums.phpfreaks.com/topic/141763-solved-help-find-this-function/
Share on other sites

@ mark baker,

 

My version of php does not support this mbstring_convert_encoding().

Can you show me the example?

 

@ MadTechie

the word 'سلام' is being viewed properly on the page. But when I view the the page source it is still سلام

 

even echo "سلام";  , shows 'سلام' fine on te page, but still in the page source it is viewed by that. I wanna have it change in the page source too.

 

html_entity_decode() seems to do nothing with "سلام"

wow you nailed it :)

 

I gotta go through it as there's some line I don't get, But my job to understand :D Thanks A TON for that.

 

I see you have used hexdec there ^^ I have a question about this hex and binary things, its first time I'm working with them.

 

I started a thread 2 days ago, but no answer. Do you mind take look at it?

http://www.phpfreaks.com/forums/index.php/topic,234737.0.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.