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
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 "سلام"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.