Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

French Characters Not Showing Properly

$
0
0
hi .
I'm having an issue where I can't seem to get the proper French characters to show up
I this code

	$locale = 'fr_FR.UTF-8';
	setlocale(LC_ALL, $locale);
	$event_date =  utf8_encode(strftime($format,strtotime(date("Y-m-d", strtotime("27th August 2013")) . " +".$day." day")));



for some reason it does not work...well, it returns the proper date in French so that works but the month of August which has an accent in it does not process properly

I get this

Mercredi - 28 août, 2013


instead of

Mercredi - 28 août, 2013


any ideas why this would be?

thanks

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>