Page 1 of 1

Decode a String

Posted: Thu May 14, 2009 5:57 am
by hidz_stitch
Need help..

I'd found an example of using mb_convert_encoding() to encode a string.

Code: Select all

<?
  $string = 'Test:!"$%&/()=ÖÄÜöäü<<';  
  echo mb_convert_encoding($string,'ASCII');
?>
and the output is :

Test:!"$%&/()=??????<<

Anyone know how to decode it back to string?
Urgently need it.. :cry:

Re: Decode a String

Posted: Thu May 14, 2009 6:35 am
by jaoudestudios
What time of encoding do you need?

When you say encoding do you mean to encrypt something, so no one else knows what it is? But you have the ability to decrypt it back to the original string?

Whats it for?

Encryption & Decryption functions