On Dec 16, 2010, at 10:36 PM, Gavin Barraclough wrote:
The short answer is that String::format should be considered deprecated - its
behavior is platform-specific, and we'd like to move away from it.
We should probably put a comment in WTFString.h that says something along these
lines.
I have a question about StringImpl::create(). Is it can only input latin1
data?
If it can only input the latin1 data, the following code maybe incrorect:
In WTFString.cpp :
String String::format(const char *format, ...)
{
...
Vectorchar, 256 buffer;
...
return
On Dec 16, 2010, at 9:45 PM, 谢愈挺 wrote:
I have a question about StringImpl::create(). Is it can only input latin1
data?
Yes, this method takes latin1 data all const char* arguments in WTFString are
handled as latin1.
String::fromUTF8 can be used to create strings with utf8 data.
If it can
3 matches
Mail list logo