上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 1357 下一页
悉Microsoft支持Unicode的方式。 它的主要目的是方便你查询相关的数据类型和函数,以及修正相应的拼写错误。 I18nGuy 主页 XenCraft (Unicode 咨询公司) English My thanks to Yaker Gong for the translation to Read More
posted @ 2019-01-09 23:33 findumars Views(803) Comments(0) Diggs(0) Edit
C/C++程序中,locale(即系统区域设置,即国家或地区设置)将决定程序所使用的当前语言编码、日期格式、数字格式及其它与区域有关的设置,locale设置的正确与否将影响到程序中字符串处理(wchar_t如何输出、strftime()的格式等)。因此,对于每一个程序,都应该慎重处理locale设置 Read More
posted @ 2019-01-09 23:26 findumars Views(3146) Comments(0) Diggs(0) Edit
在C运行库提供的多字节字符-宽字符转换函数:mbstowcs()/wcstombs()中,需要用到全局变量locale( locale encoding ),以指定多字节字符的编码类型 1. 功能: 用来定义全局变量:locale(locale encoding) 头文件: setlocale <l Read More
posted @ 2019-01-09 23:17 findumars Views(1441) Comments(0) Diggs(0) Edit
http://www.cnblogs.com/cnyao/archive/2010/05/06/1729220.html setlocale()函数是用来配置地域信息的,原本以为这个也是windows函数,结果居然是C++的标准函数,其头文件为<clocale>,按照一般的原则,所有原本C的函数被移 Read More
posted @ 2019-01-09 23:15 findumars Views(346) Comments(0) Diggs(0) Edit
setlocale 配置地域化信息。 语法: string setlocale(string category, string locale); 返回值: 字符串 函数种类: 操作系统与环境 本函数用来配置地域的信息。参数 category 有下列的选择: LC_ALL 包括下面的全项选项都要。 L Read More
posted @ 2019-01-09 23:11 findumars Views(2169) Comments(0) Diggs(0) Edit
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 1357 下一页