note 88720 deleted from function.rawurldecode by danbrown

From: Date: Wed, 04 Feb 2009 21:01:21 +0000
Subject: note 88720 deleted from function.rawurldecode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150226@lists.php.net to get a copy of this message
Note Submitter: Peter Bailey ---- To Javier A. Segura at gmail dot com You don't need to do that. Just make sure your default_charset is set to UTF-8. You can do this directly in the php.ini or at runtime like so <?php ini_set( 'default_charset', 'UTF-8' ); ?> And then use rawurldecode() normally. <?php ini_set( 'default_charset', 'UTF-8' ); echo rawurldecode( "%C3%A1%C3%B1" ); // áñ ?>

« previous php.notes (#150226) next »