Decode a String

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!

Moderator: General Moderators

Post Reply
hidz_stitch
Forum Newbie
Posts: 2
Joined: Wed May 13, 2009 8:08 am

Decode a String

Post 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:
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: Decode a String

Post 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
Post Reply