CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#10458] French date accent / UTF8 problem

avatar
Created By: Szygenda Morgan (mszy)
Date Submitted: Wed Mar 25 17:14:39 -0400 2015

Assigned To:
Version: 2.0beta2
CMSMS Version: 2.0beta2
Severity: Major
Resolution: Fixed
State: Closed
Summary:
French date accent / UTF8 problem
Detailed Description:
lib/smarty/plugins/function.html_select_date.php : 308
- $_text = isset($month_names) ?
smarty_function_escape_special_chars($month_names[$i]) : ($month_format == "%m"
? $_val : strftime($month_format, $_month_timestamps[$i]));

strftime(..) return an latin1 date in french ... but ut8 is needed !

solution :
add a new line : $_text = utf8_encode($_text);


History

Comments
avatar
Date: 2015-04-01 04:29
Posted By: Jean-Claude Etiemble (jce76350)

Solved in rev 9888 beta3 
http://viewsvn.cmsmadesimple.org/diff.php?repname=cmsmadesimple&path=%2Ftrunk%2Flib%2Fnls%2Ffr_FR.nls.php&rev=9888&peg=9888
      
avatar
Date: 2015-04-13 10:46
Posted By: Robert Campbell (calguy1000)

fixed for 1.12
      
Updates

Updated: 2015-04-13 10:46
state: Open => Closed

Updated: 2015-04-04 11:01
resolution_id: => 7