widestring
When and why can sprintf fail?
I\'m using swprintf to build a string into a buffer (using a loop among other things). const int MaxStringLengthPerCharacter = 10 + 1;[详细]
2023-01-02 07:57 分类:问答Delphi 2010 Wide functions vs. String functions
We\'re currently converting a D开发者_StackOverflow社区elphi 2007 project to Delphi 2010. We were already using Unicode (via WideStrings and TNT Unicode Controls).[详细]
2022-12-28 01:54 分类:问答Delphi, string vs widestring memory usage issue, non-unicode VCL (D7)
I\'m storing some classes with WideString parameters describing them (like name, description and some others). Now if I change all those WideStrings to simple \"string\" (I\'m using alias actually so[详细]
2022-12-15 02:45 分类:问答Where is wctype in Visual C 2008 Express?
I\'m porting 3rd party software from Linux to Windows using Visual C 2008 Express. I have trouble only with function `wctype\'. It\'s declared in %VCDIR%/include/wctype.h file as follow:[详细]
2022-12-15 01:36 分类:问答How do I convert System::WideString to a char* and vice versa?
I have a situation wher开发者_如何学JAVAe I need to compare a char* with a WideString. How do I convert the WideString to a char* in C++?You can use the wcstombs function.[详细]
2022-12-14 19:55 分类:问答Combining wide string literal with string macro
I have a macro for a character string as follows: #define APPNAME \"MyApp\" Now I want to construct a wid开发者_高级运维e string using this macro by doing something like:[详细]
2022-12-11 05:59 分类:问答Converting wide char string to lowercase in C++
How do I convert a wchar_t string from upper case to lower case in C++? The string contains a mixture of Japanese, Chinese, German and Greek characters.[详细]
2022-12-09 20:20 分类:问答Case insensitive search in Unicode in C++ on Windows
I asked a similar question yesterday, but recognize that i need to rephase it in a different way. In short:[详细]
2022-12-09 02:56 分类:问答