I am working on the php code below which returns the month names in french.
<script>
document.getElementById('title_fr').value = "<?php setlocale(LC_TIME, "fra"); echo strftime("%d %B %Y", strtotime( $this_date )); ?>";
</script>
The above code returns the following months:
janvier
f�vrier
mars
avril
mai
juin
juillet
août
septembre
octobre
novembre
d�cembre
Problem Statement:
I am wondering what changes I need to make in the php code above so that it avoids question mark for f�vrier
and d�cembre
. It should return février
and décembre
On head, I am using:
<meta charset="utf-8">