moodle的中文日历乱码问题
来源:互联网 发布:超级英雄淘宝购买礼包 编辑:程序博客网 时间:2024/06/06 11:45
网上看了一大堆解决方案,都有问题,这个问题的正确解决方案是:
-----完整代码:
$string['alphabet'] = 'A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z';
$string['backupnameformat'] = '%Y%m%d-%H%M';
$string['firstdayofweek'] = '1';
$string['locale'] = 'zh_CN.UTF-8';
//$string['localewin'] = 'Chinese_China.936';
//$string['localewincharset'] = 'CP936';
//$string['oldcharset'] = 'UTF-8';
//采用24小時制
$string['strftimedate'] = '%Y年 %m月 %d日 ';
$string['strftimedateshort'] = '%m月 %d日 ';
$string['strftimedatetime'] = '%Y年 %m月 %d日,%H:%M';//
$string['strftimedaydate'] = '%Y年 %m月 %d日 %l';
$string['strftimedaydatetime'] = '%Y年%m月 %d日(星期%w) %H:%M';//%n在php中有bug
$string['strftimedayshort'] = '%m月 %d日 星期%w';
$string['strftimedaytime'] = '%a %H:%M';
$string['strftimemonthyear'] = '%Y 年 %m 月 '; //首页日历
$string['strftimerecent'] = '%m月 %d日,%H:%M';
$string['strftimerecentfull'] = '%Y年%m月%d日(星期%w) %H:%M';//讨论区完整日期
$string['strftimetime'] = '%H:%M';
$string['thischarset'] = 'UTF-8';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Chinese';
- moodle的中文日历乱码问题
- 解决Moodle日历乱码的最佳方案
- my97datepicker日历展示出现中文乱码的问题
- moodle 2.0 上传用户 中文乱码解决办法
- 中文乱码的问题
- 中文乱码的问题
- 中文乱码的问题
- 彻底解决Moodle上传文件中文文件名乱码解决方法
- struts的中文乱码问题
- struts的中文乱码问题
- jfreechart的中文乱码问题
- RHEL4 中文乱码的问题
- 中文乱码问题的解决方法
- was中文乱码的问题
- MySql的中文乱码问题
- J2EE中文乱码的问题
- servlet的中文乱码问题
- mysql中文乱码的问题
- 两款齐发 魅蓝Note月底发电信版
- 日期时间
- JS三元运算符
- Python条件语句和运算符
- ios消息推送全面解析和push证书的生成
- moodle的中文日历乱码问题
- CFtpConnection::GetFile()下载FTP服务器文件及相关参数说明
- Win32API调用错误号与信息(1000-1999)
- Android开发存储方式详解
- Linux 中的公钥和私钥应用
- Python数据类型和语法
- svn 批量删除文件.svn
- NFC 学习总结(下)
- hdoj 发工资